RE: Fedora RPM build issue

2007-03-15 Thread Chris Moody
Ah exactly my issue. libtool-ltdl was installed but libtool-ltdl-devel
wasn't. I dropped that in and away it went. Thanks!




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Fedora RPM build issue

2007-03-15 Thread Sam Schultz


On Thu, 15 Mar 2007 12:17:11 -0500 Chris Moody <[EMAIL PROTECTED]
tech.net> wrote:
>Greetings all, 
>
>I am trying to create an RPM of Freeradius 1.1.5 for a Fedora Core 
>6
>install, and following the instructions in the Wiki, the build 
>process
>dies with this at the end:
>
>c/include -Ilibeap -c rlm_eap.c  -fPIC -DPIC -o .libs/rlm_eap.o In 
>file
>included from rlm_eap.c:26:
>rlm_eap.h:26:18: error: ltdl.h: No such file or directory In file

Your problem is you don't have libtdl-devel installed, and maybe not
even libtdl. The errors that come up after this point are probably
just the compiler's laments about not having the libtdl includes
(There could be errors, too. I stopped looking after the line above)

>included from rlm_eap.c:26:
>rlm_eap.h:36: error: expected specifier-qualifier-list before
>'lt_dlhandle'
>rlm_eap.c: In function 'eap_authenticate':
>rlm_eap.c:285: warning: passing argument 5 of 'request_data_add' 
>from
>incompatible pointer type
>rlm_eap.c:308: warning: passing argument 5 of 'request_data_add' 
>from
>incompatible pointer type
>rlm_eap.c:388: warning: pointer targets in passing argument 2 of
>'pairmake' differ in signedness
>rlm_eap.c: In function 'eap_post_proxy':
>rlm_eap.c:547: warning: pointer targets in passing argument 2 of
>'pairmake' differ in signedness
>rlm_eap.c:580: warning: pointer targets in passing argument 1 of
>'strncasecmp' differ in signedness
>rlm_eap.c:605: warning: pointer targets in passing argument 4 of
>'rad_tunnel_pwdecode' differ in signedness
>rlm_eap.c:616: warning: pointer targets in passing argument 1 of
>'rad_tunnel_pwencode' differ in signedness
>rlm_eap.c:616: warning: pointer targets in passing argument 4 of
>'rad_tunnel_pwencode' differ in signedness
>gmake[6]: *** [rlm_eap.lo] Error 1
>gmake[6]: Leaving directory
>`/root/rpmbuild/BUILD/freeradius-1.1.5/src/modules/rlm_eap'
>gmake[5]: *** [common] Error 2
>gmake[5]: Leaving directory
>`/root/rpmbuild/BUILD/freeradius-1.1.5/src/modules'
>gmake[4]: *** [all] Error 2
>gmake[4]: Leaving directory
>`/root/rpmbuild/BUILD/freeradius-1.1.5/src/modules'
>gmake[3]: *** [common] Error 2
>gmake[3]: Leaving directory `/root/rpmbuild/BUILD/freeradius-
>1.1.5/src'
>gmake[2]: *** [all] Error 2
>gmake[2]: Leaving directory `/root/rpmbuild/BUILD/freeradius-
>1.1.5/src'
>gmake[1]: *** [common] Error 2
>gmake[1]: Leaving directory `/root/rpmbuild/BUILD/freeradius-
>1.1.5'
>make: *** [all] Error 2
>error: Bad exit status from /var/tmp/rpm-tmp.72903 (%build)
>
>
>RPM build errors:
>Bad exit status from /var/tmp/rpm-tmp.72903 (%build)
>
>Not being a wiz at this, I'm at a dead end. Any help? 
>
>Thanks!
>
>-C
>
>
>- 
>List info/subscribe/unsubscribe? See 
>http://www.freeradius.org/list/users.html

--
Click for free info on online masters degrees and make $150K/ year
http://tagline.hushmail.com/fc/CAaCXv1S74nxrxmtHSCjwCfRWR2eI8wV/

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Fedora RPM build issue

2007-03-15 Thread Tomas Hoger
On 3/15/07, Chris Moody <[EMAIL PROTECTED]> wrote:
> Greetings all,
>
> I am trying to create an RPM of Freeradius 1.1.5 for a Fedora Core 6
> install, and following the instructions in the Wiki, the build process
> dies with this at the end:
>
> c/include -Ilibeap -c rlm_eap.c  -fPIC -DPIC -o .libs/rlm_eap.o In file
> included from rlm_eap.c:26:
> rlm_eap.h:26:18: error: ltdl.h: No such file or directory In file
> included from rlm_eap.c:26:

Are you building with system or freeradius-bundled ltdl?  Do you have
package libtool-ltdl-devel installed?

th.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Fedora RPM build issue

2007-03-15 Thread Chris Moody
Greetings all, 

I am trying to create an RPM of Freeradius 1.1.5 for a Fedora Core 6
install, and following the instructions in the Wiki, the build process
dies with this at the end:

c/include -Ilibeap -c rlm_eap.c  -fPIC -DPIC -o .libs/rlm_eap.o In file
included from rlm_eap.c:26:
rlm_eap.h:26:18: error: ltdl.h: No such file or directory In file
included from rlm_eap.c:26:
rlm_eap.h:36: error: expected specifier-qualifier-list before
'lt_dlhandle'
rlm_eap.c: In function 'eap_authenticate':
rlm_eap.c:285: warning: passing argument 5 of 'request_data_add' from
incompatible pointer type
rlm_eap.c:308: warning: passing argument 5 of 'request_data_add' from
incompatible pointer type
rlm_eap.c:388: warning: pointer targets in passing argument 2 of
'pairmake' differ in signedness
rlm_eap.c: In function 'eap_post_proxy':
rlm_eap.c:547: warning: pointer targets in passing argument 2 of
'pairmake' differ in signedness
rlm_eap.c:580: warning: pointer targets in passing argument 1 of
'strncasecmp' differ in signedness
rlm_eap.c:605: warning: pointer targets in passing argument 4 of
'rad_tunnel_pwdecode' differ in signedness
rlm_eap.c:616: warning: pointer targets in passing argument 1 of
'rad_tunnel_pwencode' differ in signedness
rlm_eap.c:616: warning: pointer targets in passing argument 4 of
'rad_tunnel_pwencode' differ in signedness
gmake[6]: *** [rlm_eap.lo] Error 1
gmake[6]: Leaving directory
`/root/rpmbuild/BUILD/freeradius-1.1.5/src/modules/rlm_eap'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory
`/root/rpmbuild/BUILD/freeradius-1.1.5/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/root/rpmbuild/BUILD/freeradius-1.1.5/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/root/rpmbuild/BUILD/freeradius-1.1.5/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/rpmbuild/BUILD/freeradius-1.1.5/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/root/rpmbuild/BUILD/freeradius-1.1.5'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.72903 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.72903 (%build)

Not being a wiz at this, I'm at a dead end. Any help? 

Thanks!

-C


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html