[OpenSER-Devel] [ openser-Bugs-1903692 ] Compile error at make install
SourceForge.net
noreply at sourceforge.net
Thu Feb 28 10:41:53 CET 2008
Bugs item #1903692, was opened at 2008-02-28 06:18
Message generated for change (Comment added) made by henningw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1903692&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Salahuddin Ahmed (bdrubel)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Compile error at make install
Initial Comment:
Hello,
When I try to install openser I got some error. I download this from svn trunk. The problem is.
make[1]: Entering directory `/home/rubel/openser_latest/openser_svn_install/modules/userblacklist'
Compiling db.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -march=prescott -DMOD_NAME='"userblacklist"' -DNAME='"openser"' -DVERSION='"1.4.0dev6-notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.4.6"' -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/openser_svn//etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -DSVNREVISION='"2:3766M"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c db.c -o db.o
In file included from db.c:32:
../db_mysql/my_con.h:31:25: mysql/mysql.h: No such file or directory
I try to install openser using this "make prefix=/usr/local/openser_svn/ install" command and my installed mysql path is "/usr/local/mysql/".
Regards,
Salahuddin Ahmed
----------------------------------------------------------------------
>Comment By: Henning Westerholt (henningw)
Date: 2008-02-28 09:41
Message:
Logged In: YES
user_id=337916
Originator: NO
Hi Salahuddin Ahmed,
thank you for the report, and thanks Bogdan for the quick fix.
I forgot to remove this include, i needed some parts from there during a
few debbuging runs.. :-)
Should work now.
Henning
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-02-28 09:36
Message:
Logged In: YES
user_id=1275325
Originator: NO
Hi there,
It looks there was a bogus include in on of the file from the
userblacklist module. I hope I fixed it. Just update from SVN and try
again.
Thanks and regards,
Bogdan
----------------------------------------------------------------------
Comment By: Salahuddin Ahmed (bdrubel)
Date: 2008-02-28 07:37
Message:
Logged In: YES
user_id=1995576
Originator: YES
Sorry, I am not mentioned where I use this. This is used to make
"userblacklist" module.
----------------------------------------------------------------------
Comment By: Salahuddin Ahmed (bdrubel)
Date: 2008-02-28 06:43
Message:
Logged In: YES
user_id=1995576
Originator: YES
Hello,
I attach a Makefile This is taken from bd_mysql module. It works fine.
Regards,
Salahuddin Ahmed
File Added: Makefile
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1903692&group_id=139143
More information about the Devel
mailing list