Re: Compile error -- HELP

This is a discussion on Re: Compile error -- HELP within the FreeRADIUS Users forums, part of the Networking and Network Related category; This is a multipart message in MIME format. --===============1929844506== Content-Type: multipart/alternative; boundary="=_alternative 0057F8118625728F_=" This is ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2007
Garrett.Marks@wichita.edu
 
Posts: n/a
Default Re: Compile error -- HELP

This is a multipart message in MIME format.
--===============1929844506==
Content-Type: multipart/alternative;
boundary="=_alternative 0057F8118625728F_="

This is a multipart message in MIME format.
--=_alternative 0057F8118625728F_=
Content-Type: text/plain; charset="US-ASCII"

> ken wrote:
> > I am trying to install freeradius 1.1.4 on solaris 10 using the
> > following commands.
> >
> > ../configure --without-rlm-x99-token
> >
> > configure creates the Makefile

>
> It also produces other error messages, I think.
>
> > I then run make and get the following error

> ...
> > false cru .libs/libradius.a crypt.o dict.o filters.o hash.o hmac.o

>
> You don't have a dynamic linker on your system. Install one.
>
> Alan DeKok.


I had almost the same error compiling libxml on Solaris 10 x86 recently.
In that instance the appropriate command was "ar", which was installed on
the system, however I hadn't included /usr/ccs/bin in my PATH at the time
I ran configure. Once I reran configure with /usr/ccs/bin in my path I
was able to compile without the error.

I was able to reproduce the problem under the conditions I just described
with freeradius 1.1.4. Here are all the warnings I received

/software/oss/builds/freeradius-1.1.4> ./configure --without-rlm-x99-token
> /tmp/config2.out

f90: Warning: Option -print-search-dirs passed to ld, if ld is invoked,
ignored otherwise
Usage: f90 [ options ] files. Use 'f90 -flags' for details
config.status: WARNING: ./Make.inc.in seems to ignore the --datarootdir
setting
config.status: WARNING: ./src/include/build-radpaths-h.in seems to ignore
the --datarootdir setting
f90: Warning: Option -print-search-dirs passed to ld, if ld is invoked,
ignored otherwise
Usage: f90 [ options ] files. Use 'f90 -flags' for details
configure: WARNING: silently not building rlm_counter.
configure: WARNING: FAILURE: rlm_counter requires: libgdbm.
configure: WARNING: silently not building rlm_ippool.
configure: WARNING: FAILURE: rlm_ippool requires: libgdbm.
configure: WARNING: the comm_err library isn't found!
configure: WARNING: silently not building rlm_krb5.
configure: WARNING: FAILURE: rlm_krb5 requires: krb5.
configure: WARNING: silently not building rlm_ldap.
configure: WARNING: FAILURE: rlm_ldap requires: libldap_r.
configure: WARNING: silently not building rlm_perl.
configure: WARNING: FAILURE: rlm_perl requires: EXTERN.h perl.h.
configure: WARNING: iodbc headers not found. Use
--with-iodbc-include-dir=<path>.
configure: WARNING: sql submodule 'iodbc' disabled
configure: WARNING: oracle headers not found. Use
--with-oracle-home-dir=<path>.
configure: WARNING: sql submodule 'oracle' disabled
configure: WARNING: unixODBC headers not found. Use
--with-unixodbc-include-dir=<path>.
configure: WARNING: sql submodule 'unixodbc' disabled

/software/oss/builds/freeradius-1.1.4> grep -i warn /tmp/config2.out
/software/oss/builds/freeradius-1.1.4> tail /tmp/config2.out
checking for fgetpwent... yes
checking for fgetspent... yes
checking for fgetgrent... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in src/modules/rlm_checkval
(/software/oss/builds/freeradius-1.1.4/src/modules/rlm_checkval)
configure: running /bin/bash ./configure '--prefix=/usr/local'
'--without-rlm-x99-token' '--enable-ltdl-install' --cache-fil
e=/dev/null --srcdir=.
configure: creating ./config.status
config.status: creating Makefile

It seems that, at least on Solaris 10, in some cases if the configure
script can't find 'ar' then it likes to continue without warning (I don't
recall seeing a warning with libxml, but I can't say for sure there wasn't
one) and 'false' gets set as the command to use, which causes problems
during the make. Is this appropriate behaviour, or should configure error
if it can't find 'ar', a command that is apparently necessary for the
compile to successfully complete?
--=_alternative 0057F8118625728F_=
Content-Type: text/html; charset="US-ASCII"


<br><tt><font size=2><br>
&gt; ken wrote:<br>
&gt; &gt; I am trying to install freeradius 1.1.4 on solaris 10 using the<br>
&gt; &gt; following commands.<br>
&gt; &gt; <br>
&gt; &gt; ../configure --without-rlm-x99-token<br>
&gt; &gt; <br>
&gt; &gt; configure creates the Makefile<br>
&gt; <br>
&gt; &nbsp; It also produces other error messages, I think.<br>
&gt; <br>
&gt; &gt; I then run make and get the following error<br>
&gt; ...<br>
&gt; &gt; false cru .libs/libradius.a &nbsp;crypt.o dict.o filters.o hash.o
hmac.o<br>
&gt; <br>
&gt; &nbsp; You don't have a dynamic linker on your system. &nbsp;Install
one.<br>
&gt; <br>
&gt; &nbsp; Alan DeKok.<br>
</font></tt>
<br><tt><font size=2>I had almost the same error compiling libxml on Solaris
10 x86 recently. &nbsp;In that instance the appropriate command was &quot;ar&quot;,
which was installed on the system, however I hadn't included /usr/ccs/bin
in my PATH at the time I ran configure. &nbsp;Once I reran configure with
/usr/ccs/bin in my path I was able to compile without the error.</font></tt>
<br>
<br><tt><font size=2>I was able to reproduce the problem under the conditions
I just described with freeradius 1.1.4. &nbsp;Here are all the warnings
I received</font></tt>
<br>
<br><tt><font size=2>/software/oss/builds/freeradius-1.1.4&gt; ./configure
--without-rlm-x99-token &gt; /tmp/config2.out</font></tt>
<br><tt><font size=2>f90: Warning: Option -print-search-dirs passed to
ld, if ld is invoked, ignored otherwise</font></tt>
<br><tt><font size=2>Usage: f90 [ options ] files. &nbsp;Use 'f90 -flags'
for details</font></tt>
<br><tt><font size=2>config.status: WARNING: &nbsp;./Make.inc.in seems
to ignore the --datarootdir setting</font></tt>
<br><tt><font size=2>config.status: WARNING: &nbsp;./src/include/build-radpaths-h.in
seems to ignore the --datarootdir setting</font></tt>
<br><tt><font size=2>f90: Warning: Option -print-search-dirs passed to
ld, if ld is invoked, ignored otherwise</font></tt>
<br><tt><font size=2>Usage: f90 [ options ] files. &nbsp;Use 'f90 -flags'
for details</font></tt>
<br><tt><font size=2>configure: WARNING: silently not building rlm_counter.</font></tt>
<br><tt><font size=2>configure: WARNING: FAILURE: rlm_counter requires:
&nbsp;libgdbm.</font></tt>
<br><tt><font size=2>configure: WARNING: silently not building rlm_ippool.</font></tt>
<br><tt><font size=2>configure: WARNING: FAILURE: rlm_ippool requires:
&nbsp;libgdbm.</font></tt>
<br><tt><font size=2>configure: WARNING: the comm_err library isn't found!</font></tt>
<br><tt><font size=2>configure: WARNING: silently not building rlm_krb5.</font></tt>
<br><tt><font size=2>configure: WARNING: FAILURE: rlm_krb5 requires: &nbsp;krb5.</font></tt>
<br><tt><font size=2>configure: WARNING: silently not building rlm_ldap.</font></tt>
<br><tt><font size=2>configure: WARNING: FAILURE: rlm_ldap requires: &nbsp;libldap_r.</font></tt>
<br><tt><font size=2>configure: WARNING: silently not building rlm_perl.</font></tt>
<br><tt><font size=2>configure: WARNING: FAILURE: rlm_perl requires: &nbsp;EXTERN.h
perl.h.</font></tt>
<br><tt><font size=2>configure: WARNING: iodbc headers not found. &nbsp;Use
--with-iodbc-include-dir=&lt;path&gt;.</font></tt>
<br><tt><font size=2>configure: WARNING: sql submodule 'iodbc' disabled</font></tt>
<br><tt><font size=2>configure: WARNING: oracle headers not found. &nbsp;Use
--with-oracle-home-dir=&lt;path&gt;.</font></tt>
<br><tt><font size=2>configure: WARNING: sql submodule 'oracle' disabled</font></tt>
<br><tt><font size=2>configure: WARNING: unixODBC headers not found. &nbsp;Use
--with-unixodbc-include-dir=&lt;path&gt;.</font></tt>
<br><tt><font size=2>configure: WARNING: sql submodule 'unixodbc' disabled</font></tt>
<br>
<br><tt><font size=2>/software/oss/builds/freeradius-1.1.4&gt; grep -i
warn /tmp/config2.out</font></tt>
<br><tt><font size=2>/software/oss/builds/freeradius-1.1.4&gt; tail /tmp/config2.out</font></tt>
<br><tt><font size=2>checking for fgetpwent... yes</font></tt>
<br><tt><font size=2>checking for fgetspent... yes</font></tt>
<br><tt><font size=2>checking for fgetgrent... yes</font></tt>
<br><tt><font size=2>configure: creating ./config.status</font></tt>
<br><tt><font size=2>config.status: creating Makefile</font></tt>
<br><tt><font size=2>config.status: creating config.h</font></tt>
<br><tt><font size=2>=== configuring in src/modules/rlm_checkval (/software/oss/builds/freeradius-1.1.4/src/modules/rlm_checkval)</font></tt>
<br><tt><font size=2>configure: running /bin/bash ./configure '--prefix=/usr/local'
&nbsp;'--without-rlm-x99-token' '--enable-ltdl-install' --cache-fil &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;e=/dev/null --srcdir=.</font></tt>
<br><tt><font size=2>configure: creating ./config.status</font></tt>
<br><tt><font size=2>config.status: creating Makefile</font></tt>
<br>
<br><tt><font size=2>It seems that, at least on Solaris 10, in some cases
if the configure script can't find 'ar' then it likes to continue without
warning (I don't recall seeing a warning with libxml, but I can't say for
sure there wasn't one) and 'false' gets set as the command to use, which
causes problems during the make. Is this appropriate behaviour, or should
configure error if it can't find 'ar', a command that is apparently necessary
for the compile to successfully complete?</font></tt>
--=_alternative 0057F8118625728F_=--

--===============1929844506==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--===============1929844506==--
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:55 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0