Re: freeradius without libtool

2003-12-22 Thread Alan DeKok
Arindam Roy [EMAIL PROTECTED] wrote:
 I know the question might sound silly, but do you know of any way of 
 compiling freeradius without libtool, with all the modules as static 
 modules.

  ./configure --disable-shared ?

  It still needs libtool, though.  The API's used to link the modules
are supplied by libtool.

  Alan DeKok.

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


freeradius without libtool

2003-12-21 Thread Arindam Roy
Hello all,
I know the question might sound silly, but do you know of any way of 
compiling freeradius without libtool, with all the modules as static 
modules.
I mean can I pass any specific flag to the GCC so that the modules are 
dlpreopened. Or is this a specific feature of libtool(the ltdl sybol 
list I mean).
Any help will be hugely appreciated.
Thanking you,
Arindam Roy



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


FreeRADIUS and libtool

2001-12-19 Thread Martti Kuparinen

Hi!

While trying to create a NetBSD package of FreeRADIUS 0.4 I noticed
that the source files are not compiled right with libtool.

Are there any plans to libtoolify the sources, i.e. compile and
link all files like this:

  ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c filename.c
  ${LIBTOOL} --mode=link ${CC} -o ${LIBRADIUS:.a=.la} ${OBJS:.o=.lo} \
-rpath ${PREFIX}/lib -version-info ${MAJOR}:${MINOR}

Right now e.g. src/lib/Makefile isn't compiled properly.

I'm going to take a look at this, although the priority is very low.
Please let me know if someone is already working on this issue.

Martti

---
Martti Kuparinen [EMAIL PROTECTED]  NetBSD - No media hype
http://www.iki.fi/~kuparine/http://www.netbsd.org/


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



Re: FreeRADIUS and libtool

2001-12-19 Thread aland

Martti Kuparinen [EMAIL PROTECTED] wrote:
 While trying to create a NetBSD package of FreeRADIUS 0.4 I noticed
 that the source files are not compiled right with libtool.

  I'm not sure that libtool *ever* compiles anything right, but
that's another story.
 
 Are there any plans to libtoolify the sources, i.e. compile and
 link all files like this:
 
   ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c filename.c
   ${LIBTOOL} --mode=link ${CC} -o ${LIBRADIUS:.a=.la} ${OBJS:.o=.lo} \
 -rpath ${PREFIX}/lib -version-info ${MAJOR}:${MINOR}
 
 Right now e.g. src/lib/Makefile isn't compiled properly.

  Uh... what do you mean by that?  The 'libradius.a' archive should be
created fine, using standard system tools.  There isn't a
*requirement* to use libtool, that I know of.

  libtool *can* help in some places.  In others, it can't.
 
 I'm going to take a look at this, although the priority is very low.
 Please let me know if someone is already working on this issue.

  shrug  If it's important, and if it makes a big difference, send a
patch to the list.

  Alan DeKok.

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