Click here to Skip to main content
15,895,777 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionProblem installing PHP5.3.0 under IIS 6 and Windows Server 2003 Pin
CrazyCoder2612-Nov-09 18:12
CrazyCoder2612-Nov-09 18:12 
AnswerRe: Problem installing PHP5.3.0 under IIS 6 and Windows Server 2003 Pin
Marc Firth12-Nov-09 22:11
Marc Firth12-Nov-09 22:11 
GeneralRe: Problem installing PHP5.3.0 under IIS 6 and Windows Server 2003 Pin
CrazyCoder2612-Nov-09 22:59
CrazyCoder2612-Nov-09 22:59 
Question[Message Deleted] Pin
Jackaal12-Nov-09 6:47
Jackaal12-Nov-09 6:47 
AnswerRe: how to make a simple invoice? Pin
Marc Firth12-Nov-09 22:19
Marc Firth12-Nov-09 22:19 
GeneralRe: how to make a simple invoice? Pin
Jackaal13-Nov-09 6:57
Jackaal13-Nov-09 6:57 
QuestionHow to write a makefile ? Pin
euerka12-Nov-09 2:35
euerka12-Nov-09 2:35 
AnswerRe: How to write a makefile ? Pin
N a v a n e e t h14-Nov-09 18:17
N a v a n e e t h14-Nov-09 18:17 
GNU's an introduction to makefile should get you started. A simple makefile (not tested) for this will look like:
#makedepend flags
DFLAGS = 

#Libraries to link
LIBRARYPATH = /usr/local/lib
INCLUDEPATH = /usr/local/include
LIBRARIES = rcs

#Compiler flags
CFLAGS = -Wall

CC = g++
PROG = ex3

#each module will append the source files to here
SRC := ex1.cc ex3.cc

OBJ := $(patsubst %.cc, %.o, $(filter %.cc,$(SRC)))

#linking the program
ex3: $(OBJ)
	$(CC) -I$(INCLUDEPATH) -L$(LIBRARYPATH) -o $(PROG) $(OBJ) -l$(LIBRARIES)

%.o:%.cc
	$(CC) $(CFLAGS) -c $< -o $@

depend:
	makedepend -- $(DFLAGS) -- $(SRC)

.PHONY:clean
clean:
	find . -name "*.o" | xargs rm -vf
	rm -vf ex3
In reality, you don't have to specify /usr/local/include and /usr/local/lib in the paths. These paths are there in the GCC's search path and it does a search in these paths to find the include files and libraries.

Smile | :)

Best wishes,
Navaneeth

QuestionPython Code Error - Programmers Assistance Please Pin
Mike Stratton11-Nov-09 16:40
Mike Stratton11-Nov-09 16:40 
AnswerRe: Python Code Error - Programmers Assistance Please Pin
Richard MacCutchan11-Nov-09 21:31
mveRichard MacCutchan11-Nov-09 21:31 
GeneralRe: Python Code Error - Programmers Assistance Please Pin
Mike Stratton16-Nov-09 23:06
Mike Stratton16-Nov-09 23:06 
GeneralRe: Python Code Error - Programmers Assistance Please Pin
Cape Cod Mike9-Dec-09 17:35
Cape Cod Mike9-Dec-09 17:35 
AnswerRe: Python Code Error - Programmers Assistance Please Pin
PavanPareta16-Nov-09 19:17
PavanPareta16-Nov-09 19:17 
GeneralRe: Python Code Error - Programmers Assistance Please Pin
Richard MacCutchan16-Nov-09 21:33
mveRichard MacCutchan16-Nov-09 21:33 
GeneralRe: Python Code Error - Programmers Assistance Please Pin
Mike Stratton16-Nov-09 23:08
Mike Stratton16-Nov-09 23:08 
GeneralRe: Python Code Error - Programmers Assistance Please Pin
Richard MacCutchan17-Nov-09 2:55
mveRichard MacCutchan17-Nov-09 2:55 
JokeRe: Python Code Error - Programmers Assistance Please Pin
Mike Stratton17-Nov-09 11:11
Mike Stratton17-Nov-09 11:11 
JokeRe: Python Code Error - Programmers Assistance Please Pin
Mike Stratton17-Nov-09 11:16
Mike Stratton17-Nov-09 11:16 
GeneralRe: Python Code Error - Programmers Assistance Please Pin
Mike Stratton16-Nov-09 23:07
Mike Stratton16-Nov-09 23:07 
GeneralRe: Python Code Error - Programmers Assistance Please Pin
David Skelly17-Nov-09 2:13
David Skelly17-Nov-09 2:13 
JokeRe: Python Code Error - Programmers Assistance Please Pin
Mike Stratton17-Nov-09 11:08
Mike Stratton17-Nov-09 11:08 
JokeRe: Python Code Error - Programmers Assistance Please Pin
Mike Stratton17-Nov-09 11:13
Mike Stratton17-Nov-09 11:13 
GeneralRe: Python Code Error - Programmers Assistance Please Pin
masman6-Jan-10 7:38
masman6-Jan-10 7:38 
Questionhow to run php 5.2.9 on wamp server2 Pin
Amit Spadez10-Nov-09 20:25
professionalAmit Spadez10-Nov-09 20:25 
AnswerRe: how to run php 5.2.9 on wamp server2 Pin
Andre' Gardiner12-Nov-09 14:55
professionalAndre' Gardiner12-Nov-09 14:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.