Hello,
I'm having problems compiling hobbit 4.1.0. It's the same machine I've compiled hobbit 4.0.4 without problems before. I'm using RedHat Enterprise Linux 3.0.
Here's the output of the compiler run:
PKGBUILD=1
make
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DLINUX -I.
-Ipwd/include" RPATHOPT="" PCREINCDIR="-I/usr/include/pcre"
SSLFLAGS="-DBBGEN_SSL" SSLINCDIR="-I/usr/include
-I/usr/kerberos/include"
SSLLIBS="-L/usr/lib -lssl -lcrypto" NETLIBS=""
BBTOPDIR="/usr/local/hobbit" BBLOGDIR="/var/log/hobbit"
BBHOSTNAME="localhost" BBHOSTIP="127.0.0.1" BBHOSTOS="linux" make
-C lib
all
make[1]: Entering directory
/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DLINUX -I. -I/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/include -I. -I../include -c -o calc.o calc.c In file included from /export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/include/libbbgen.h:35, from calc.c:19: /export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:14:18: pcre.h: No such file or directory In file included from /export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/include/libbbgen.h:35, from calc.c:19: /export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:16: syntax error before '*' token /export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:16: warning: type defaults to int' in declaration of compileregex' /export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:16: warning: data definition has no type or storage class /export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:18: syntax error before "pcre" make[1]: *** [calc.o] Error 1 make[1]: Leaving directory /export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib'
make: *** [lib-build] Error 2
Can anyone help?
Bye
Thomas
On Mon, Jul 25, 2005 at 09:33:05AM +0000, Thomas Krieger wrote:
Hello,
I'm having problems compiling hobbit 4.1.0. It's the same machine I've compiled hobbit 4.0.4 without problems before. I'm using RedHat Enterprise Linux 3.0.
Here's the output of the compiler run:
Seems I messed up the compile if the PCRE include's are not in a directory that is searched by default.
The quick work-around is to change the top-level Makefile. Near the bottom where it says
Add local CFLAGS etc. settings here
add the line CFLAGS += -I$(PCREINCDIR)
Regards, Henrik
Hello Henrik,
Am 25.7.2005 schrieb "(Henrik Stoerner)" <henrik at hswn.dk>:
On Mon, Jul 25, 2005 at 09:33:05AM +0000, Thomas Krieger wrote:
Hello,
I'm having problems compiling hobbit 4.1.0. It's the same machine I've compiled hobbit 4.0.4 without problems before. I'm using RedHat Enterprise Linux 3.0.
Here's the output of the compiler run:
Seems I messed up the compile if the PCRE include's are not in a directory that is searched by default.
The quick work-around is to change the top-level Makefile. Near the bottom where it says
Add local CFLAGS etc. settings here
add the line CFLAGS += -I$(PCREINCDIR)
I added this to Makefile.rules. I made a patch for package building purpose. The patch is attached.
There's another problem building a package as non-root udser. The client install tries to chown its files but PKGBUILD=1 is set. I wrote a patch to solve this issue. The patch is attached too.
Using there two patches I can build my hobbit rpm package without errors.
Regards
Thomas
participants (2)
-
henrik@hswn.dk
-
tom@tom-krieger.de