Re: Error building version 1.1.1
That is not possible, because I use rpmbuild. I it only possible to patch the sources. But what have changed?? 1.1.0 will work without any problems!!! Nicolas Baradakis schrieb:
Frank Büttner wrote:
Ok now compiling works, but at make install I get another error: ln -s libradius.la /var/tmp/freeradius-1.1.1-Frank-buildroot/usr/lib/libradius-1.1.1.la ln: creating symbolic link `/var/tmp/freeradius-1.1.1-Frank-buildroot/usr/lib/libradius-1.1.1.la' to `libradius.la': No such file or directory
Now it's the same error as posted yesterday by someone else. I don't know exactly how to fix the bug because I've no problem to build a Debian package.
Could you please try if the following patch fixes the problem?
Index: src/lib/Makefile =================================================================== RCS file: /source/radiusd/src/lib/Makefile,v retrieving revision 1.20.4.3 diff -u -r1.20.4.3 Makefile --- src/lib/Makefile 10 Feb 2006 19:47:04 -0000 1.20.4.3 +++ src/lib/Makefile 21 Mar 2006 17:19:21 -0000 @@ -48,6 +48,6 @@ rm -rf .libs
install: all - $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir) + $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir)/$(TARGET).la rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la; ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la Index: src/modules/rlm_eap/libeap/Makefile =================================================================== RCS file: /source/radiusd/src/modules/rlm_eap/libeap/Makefile,v retrieving revision 1.1.4.2 diff -u -r1.1.4.2 Makefile --- src/modules/rlm_eap/libeap/Makefile 10 Feb 2006 19:47:09 -0000 1.1.4.2 +++ src/modules/rlm_eap/libeap/Makefile 21 Mar 2006 17:19:21 -0000 @@ -38,6 +38,6 @@ rm -rf .libs
install: all - $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir) + $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir)/$(TARGET).la rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la; ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la
Same problem exists on SUSE. -Peter On Thu 23 Mar 2006 09:28, Frank Büttner wrote:
That is not possible, because I use rpmbuild. I it only possible to patch the sources. But what have changed?? 1.1.0 will work without any problems!!!
Nicolas Baradakis schrieb:
Frank Büttner wrote:
Ok now compiling works, but at make install I get another error: ln -s libradius.la /var/tmp/freeradius-1.1.1-Frank-buildroot/usr/lib/libradius-1.1.1.la ln: creating symbolic link `/var/tmp/freeradius-1.1.1-Frank-buildroot/usr/lib/libradius-1.1.1.la' to `libradius.la': No such file or directory
Now it's the same error as posted yesterday by someone else. I don't know exactly how to fix the bug because I've no problem to build a Debian package.
Could you please try if the following patch fixes the problem?
Index: src/lib/Makefile =================================================================== RCS file: /source/radiusd/src/lib/Makefile,v retrieving revision 1.20.4.3 diff -u -r1.20.4.3 Makefile --- src/lib/Makefile 10 Feb 2006 19:47:04 -0000 1.20.4.3 +++ src/lib/Makefile 21 Mar 2006 17:19:21 -0000 @@ -48,6 +48,6 @@ rm -rf .libs
install: all - $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir) + $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir)/$(TARGET).la rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la; ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la Index: src/modules/rlm_eap/libeap/Makefile =================================================================== RCS file: /source/radiusd/src/modules/rlm_eap/libeap/Makefile,v retrieving revision 1.1.4.2 diff -u -r1.1.4.2 Makefile --- src/modules/rlm_eap/libeap/Makefile 10 Feb 2006 19:47:09 -0000 1.1.4.2 +++ src/modules/rlm_eap/libeap/Makefile 21 Mar 2006 17:19:21 -0000 @@ -38,6 +38,6 @@ rm -rf .libs
install: all - $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir) + $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir)/$(TARGET).la rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la; ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la
-- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Frank Büttner wrote:
But what have changed?? 1.1.0 will work without any problems!!!
Almost all Makefiles were changed between 1.1.0 and 1.1.1. There was a lot of libtool misuses, and it was causing serious warnings or preventing some modules from beeing built correctly. http://bugs.debian.org/335890 -- Nicolas Baradakis
participants (3)
-
Frank Büttner -
Nicolas Baradakis -
Peter Nixon