[Openpvr-devel] how do I properly configure 'Makefile.local'?
Brought to you by:
brian_j_murrell,
jfunk
From: Alan M. <si...@ya...> - 2002-11-02 23:11:12
|
Hello, I am attempting to build the Perl/C OpenPVR programs, and am running into a bit of trouble with the 'Makefile.local' file. I wish to keep my 'seen_db' in the /tmp directory, so this is what my 'Makefile.local' file consists of: ----- #DEFS = -DSEENDB_PATH=\"/var/cache/openpvr\" ----- But when I run 'make all', I get the following error: ----- cc -g -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml -Wall -g -lxml -lz -lglib -ldb-3.3 schedule.c -o schedule schedule.c:1098:2: #error "You must define SEENDB_PATH in Makefile.local" schedule.c: In function `main': schedule.c:1100: `SEENDB_PATH' undeclared (first use in this function) schedule.c:1100: (Each undeclared identifier is reported only once schedule.c:1100: for each function it appears in.) make: *** [schedule] Error 1 ----- I have obviously mis-defined SEENDB_PATH, so I was wondering if an example could be provided? Or perhaps a sample 'Makefile.local' file could be provided in the CVS for download, and then one culd just substitute the path inthe sample file (if they wish) with the path they want their DB files to reside. TIA, ===== -- Alan Murrell <si...@ya...> ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca |