[Serusers] acc.so wont build
David Adade
david.adade at dcomms.co.uk
Tue Oct 2 11:17:26 CEST 2007
Sorted a bit of info got me on the right track.
rpm -e radiusclient-ng-devel-0.5.2-4
rpm -e radiusclient-ng-0.5.2-4
rpm -e radiusclient
as per documentation used
wget http://download.berlios.de/radiusclient-ng/radiusclient-ng-0.5.6.tar.gz
vi /etc/ld.so.conf
/usr/local/lib
ldconfig
i read another post you can run make in the root of ser or ../modules/acc/ it only complains that you shoud run it in the root.
-----Original Message-----
From: Jiri Kuthan [mailto:jiri at iptel.org]
Sent: 30 September 2007 17:52
To: David Adade; serusers at lists.iptel.org
Subject: [SPAM] - Re: [Serusers] acc.so wont build - Found word(s) list
error in the Text body
At 17:19 28/09/2007, David Adade wrote:
>Content-Type: multipart/alternative;
> boundary="----_=_NextPart_001_01C801E2.EB90C040"
>Content-Class: urn:content-classes:message
>
>
>
>first problem running make in /usr/src/ser/ser-0.9.6/modules/acc
>
>i get the following error
>acc.c:56:33: radiusclient-ng.h: No such file or directory
>
>So i installed the following
>
>freeradius-1.0.1-3.RHEL4.5.
>radiusclient-ng-devel-0.5.2-4
>radiusclient-ng-0.5.2-4
>
>now i get the error
>
>../../Makefile.modules:21: "you should run make from the main ser directory"
have you tried it?
-jiri
>gcc -shared -Wl,-O2 -Wl,-E acc.o acc_mod.o diam_avp.o diam_message.o diam_tcp.o -L/usr/local/lib -lradiusclient-ng -o acc.so
>/usr/bin/ld: cannot find -lradiusclient-ng
>collect2: ld returned 1 exit status
>make: *** [acc.so] Error 1
>
>vi /etc/ld.so.conf reads
>
>/usr/ofed/lib
>/usr/lib64/
>/etc/radiusclient
>/usr/sbin
>/usr/bin
>
>I am running centos 4. The radius server works fine no problems
>
>
>vi /usr/src/ser/ser-0.9.6/modules/acc/Makefile reads
>
># uncomment the next line if you wish to enable SQL accounting
>DEFS+=-DSQL_ACC
>
># uncomment the next two lines if you wish to enable RADIUS accounting
>DEFS+=-DRAD_ACC
>include ../../Makefile.radius
># DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
># LIBS=-L$(LOCALBASE)/lib -lradiusclient-
>
>Can anyone help
>
>
>
>
>
>
>
>
>***********************************************************************
>IMPORTANT NOTICE:
>The information transmitted is intended only for the person or entity to
>which it is addressed and may contain confidential and/or privileged
>material. If you receive this in error, please contact the sender and
>delete the material from any computer.
>This e-mail is intended for the above named addressee only.
>Should you receive this e-mail in error please contact
>Customer Services on Tel: + 44 (0)870 241 2439
>************************************************************************
>_______________________________________________
>Serusers mailing list
>Serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
***********************************************************************
IMPORTANT NOTICE:
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you receive this in error, please contact the sender and
delete the material from any computer.
This e-mail is intended for the above named addressee only.
Should you receive this e-mail in error please contact
Customer Services on Tel: +44 (0)870 241 2439
************************************************************************
More information about the sr-users
mailing list