[bugs][ bogofilter-Bugs-897609 ] minor src/directories.c build tweaks
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: SourceForge.net <no...@so...> - 2004-02-15 21:07:25
|
Bugs item #897609, was opened at 2004-02-15 13:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=499997&aid=897609&group_id=62265 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Craig Leres (leres) Assigned to: Nobody/Anonymous (nobody) Summary: minor src/directories.c build tweaks Initial Comment: The source distribution contains a generated file, src/directories.c. It probably shouldn't. For one thing, if the distribution is unpacked by one user but built by another, make fails trying to update directories.c: Making all in trio Making all in src make all-recursive Making all in . echo "const char *const system_config_file = \/usr/local/etc/bogofilter.cf\;" >"directories.c" || rm -f "directories.c" sh: directories.c: cannot create source='directories.c' object='directories.o' libtool=no depfile='.deps/directories.Po' tmpdepfile='.deps/directories.TPo' depmode=gcc /usr/xpg4/bin/sh ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I. -I../trio -I.. -I/usr/local/BerkeleyDB.4.1/include -DBOGOFILTER -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wnested-externs -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wreturn-type -Wformat -Wformat=2 -c directories.c gcc: directories.c: No such file or directory gcc: No input files *** Error code 1 make: Fatal error: Command failed for target `directories.o' Current working directory /usr/local/src/bogofilter-0.16.4/src *** Error code 1 The rule for creating directories.c removes it if it fails; it seems like another improvement might be to remove directories.c before trying to create it. Summary: - The distribution probably shouldn't include src/directories.c - The rule for creating directories.c should probably remove it first. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=499997&aid=897609&group_id=62265 |