Hello,
On 02/25/06 00:07, Edson wrote:
Hi, list...
We are migrating from SER 0.9.2 to OpenSER 1.0.0
The machine is a x86_64 Xeon 3.0GHz Dell, with ! GB RAM and LVM over a 70
SCSI HD. We are using OpenSUSE 10.0-OSS, with minimun packet selection, just
added with OpenSER pre-reqs and nGrep. I run two versions of MySQL: the
OpenSUSE stock 4.1.13, and 5.0.18, downloaded from MySQL site and compiled
with 'rpmbuild'. GCC version please, see below on <0>.
OpenSER compilations where all made with the command lines showed on <1>:
I find many problems, not only during the compilation process, some are:
1- 'hiding' comments for RADIUS support on ACC (thanks Daniel for the help);
2- Makefile.defs:544: You are using an old and unsupported gcc version
(4.0), compile at your own risk! (openser-1.0.0.-tls.tar.gz - stable)
this was a bug in makefile when detecting the version of gcc, it is now
fixed -- could be ignored anyhow, since it was just an warning message.
You can use:
http://www.openser.org/downloads/snapshots/openser-1.0.0/openser-1.0.0-cvs-…
which is the latest version from CVS of 1.0.0 (the one which will turn
in 1.0.1)
3- '-mtune' value had to be changed from
'x68_64' to 'x86-64' on
Makefile.defs (CVS-snapshot) to compile;
this should be fixed as well in cvs.
4- an 'ld' message that I thing is a MySQL
problem when using MySQL 5.0.18
libs (message, please see below on <2>)
Radius is still given me some work, but I whant to use MySQL 5.x series. So,
any one with a successful story in using CVS-head (or stable) with MySQL
5.0.x?
Did you compiled the mysql library by yourself or it is installed from
package?
Cheers,
Daniel
Edson.
*<0>*********************************************************************
#gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,f95,java,ada --disable-checking
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk
--disable-libjava-multilib --with-slibdir=/lib64 --with-system-zlib
--enable-shared --enable-__cxa_atexit --without-system-libunwind
--host=x86_64-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
#
*<1>*********************************************************************
# make cfg-target=/etc/openser/ prefix=/usr cfg-prefix=
# make cfg-target=/etc/openser/ prefix=/usr exclude_modules="postgres" \
modules cfg-prefix=
# make cfg-target=/etc/openser/ prefix=/usr
exclude_modules="postgres" \
install cfg-prefix=
*<2>*********************************************************************
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
/usr/lib64/mysql/libmysqlclient.a(libmysql.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/usr/lib64/mysql/libmysqlclient.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [mysql.so] Error 1
make[1]: Leaving directory `/home/download/openser-1.0.0-tls/modules/mysql'
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users