Re: Building from CVS

2007-01-17 Thread A . L . M . Buxey
Hi,
 I wanted to try the Pre2.0 release in the CVS to see if the TLS locking
 code fixed the problem I had with the SSL errors in PEAP.
  
 I downloaded the snapshot from ftp.freeradius.org
 freeradius-server-snapshot-20070116.tar.bz2
 
 I'm building on Debian, so I wanted to package it (Especially since it
 not really released code yet)
 
 
 I unzipped it, and ran 
 fakeroot dpkg-buildpackage -b -uc
 
 It failed with:
 
 checking how to run the C++ preprocessor... /lib/cpp
 configure: error: C++ preprocessor /lib/cpp fails sanity check
 See `config.log' for more details.
 make: *** [stamp-build] Error 1
 netdev:/tmp/freeradius-server-snapshot-20070116#
 
 Config.log is as follows


do you have GCC plus all its other dependencies installed? looks like
configure cant find you compiler, link libraries or headers!

alan

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


Re: Building from CVS

2007-01-17 Thread Nicolas Baradakis
King, Michael wrote:

 I unzipped it, and ran 
 fakeroot dpkg-buildpackage -b -uc
 
 It failed with:
 
 checking how to run the C++ preprocessor... /lib/cpp
 configure: error: C++ preprocessor /lib/cpp fails sanity check
 See `config.log' for more details.
 make: *** [stamp-build] Error 1

apt-get install g++

-- 
Nicolas Baradakis

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


RE: Building from CVS

2007-01-17 Thread King, Michael
 

 -Original Message-
 apt-get install g++
 

Thank you.  Apparently, this would be my first Debian box that didn't
have g++ out of the box.  (I've built more than 10 following the same
cookbook that our office wrote)

I guess gcc and gpp weren't enough.

It built...  Well it's building as I type.

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


Building from CVS

2007-01-16 Thread King, Michael
I wanted to try the Pre2.0 release in the CVS to see if the TLS locking
code fixed the problem I had with the SSL errors in PEAP.
 
I downloaded the snapshot from ftp.freeradius.org
freeradius-server-snapshot-20070116.tar.bz2

I'm building on Debian, so I wanted to package it (Especially since it
not really released code yet)


I unzipped it, and ran 
fakeroot dpkg-buildpackage -b -uc

It failed with:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor /lib/cpp fails sanity check
See `config.log' for more details.
make: *** [stamp-build] Error 1
netdev:/tmp/freeradius-server-snapshot-20070116#

Config.log is as follows



netdev:/tmp/freeradius-server-snapshot-20070116# more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --build i386-linux --config-cache --prefix=/usr
--exec-prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc
--libdir=/usr/lib/freeradius --d
atadir=/usr/share --localstatedir=/var --with-raddbdir=/etc/freeradius
--with-logdir=/var/log/freeradius --with-system-libtool
--disable-ltdl-install --with-
large-files --with-udpfromto --with-edir --enable-strict-dependencies
--enable-developer --without-rlm_otp --without-rlm_sql_postgresql
--without-snmp

## - ##
## Platform. ##
## - ##

hostname = netdev
uname -m = i686
uname -r = 2.6.8-3-686
uname -s = Linux
uname -v = #1 Tue Dec 5 21:26:38 UTC 2006

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = i686
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/local/sbin
PATH: /usr/local/bin


## --- ##
## Core tests. ##
## --- ##

configure:1423: loading cache config.cache
configure:1566: checking for gcc
configure:1582: found /usr/bin/gcc
configure:1592: result: gcc
configure:1836: checking for C compiler version
configure:1839: gcc --version /dev/null 5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

configure:1842: $? = 0
configure:1844: gcc -v /dev/null 5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/in
fo --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-cloc
ale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib
--enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:1847: $? = 0
configure:1849: gcc -V /dev/null 5
gcc: `-V' option must have argument
configure:1852: $? = 1
configure:1875: checking for C compiler default output file name
configure:1878: gcc -Wall -g -O2   conftest.c  5
configure:1881: $? = 0
configure:1927: result: a.out
configure:1932: checking whether the C compiler works
configure:1938: ./a.out
configure:1941: $? = 0
configure:1958: result: yes
configure:1965: checking whether we are cross compiling
configure:1967: result: no
configure:1970: checking for suffix of executables
configure:1972: gcc -o conftest -Wall -g -O2   conftest.c  5
configure:1975: $? = 0
configure:2000: result:
configure:2006: checking for suffix of object files
configure:2027: gcc -c -Wall -g -O2  conftest.c 5
configure:2030: $? = 0
configure:2052: result: o
configure:2056: checking whether we are using the GNU C compiler
configure:2080: gcc -c -Wall -g -O2  conftest.c 5
configure:2086: $? = 0
configure:2089: test -z  || test ! -s
conftest.err
configure:2092: $? = 0
configure:2095: test -s conftest.o
configure:2098: $? = 0
configure:2111: result: yes
configure:2117: checking whether gcc accepts -g
configure:2138: gcc -c -g  conftest.c 5
configure:2144: $? = 0
configure:2147: test -z  || test ! -s
conftest.err
configure:2150: $? = 0
configure:2153: test -s conftest.o
configure:2156: $? = 0
configure:2167: result: yes
configure:2184: checking for gcc option to accept ANSI C
configure:2254: gcc  -c -Wall -g -O2  conftest.c 5
configure:2260: $? = 0
configure:2263: test -z  || test ! -s
conftest.err
configure:2266: $? = 0
configure:2269: test -s conftest.o
configure:2272: $? = 0
configure:2290: result: none needed
configure:2308: gcc -c -Wall -g -O2  conftest.c 5
conftest.c:2: error: syntax error before me
configure:2314: $? = 1
configure: failed program 

problem building from CVS

2004-11-01 Thread Alexander Serkin
Hi.
While trying to build last CVS snapshot on sunos 5.8 i got some error:
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall 
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -W -Wredundant-decls -Wundef -I../include 
-DHOSTINFO=\sparc-sun-solaris2.8\ -DRADIUSD_VERSION=\1.1.0-pre0\ -o radrelay 
radrelay.o mainconfig.o util.o nas.o client.o log.o conffile.o files.o xlat.o 
-shared  -L/install/src/frCVS/radiusd/src/lib ../lib/.libs/libradius.a -lnsl 
-lresolv -lsocket -lposix4 -lpthread -lcrypto 
/install/src/frCVS/radiusd/src/lib/.libs/libradius.a -lcrypt
Text relocation remains referenced
against symbol  offset  in file
unknown   0x1744  radrelay.o
...
..very-very long listing..
...
lockf   0x304   ../lib/.libs/libradius.a(misc.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[4]: *** [radrelay] Error 1
make[4]: Leaving directory `/install/src/frCVS/radiusd/src/main'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/install/src/frCVS/radiusd/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/install/src/frCVS/radiusd/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/install/src/frCVS/radiusd'
make: *** [all] Error 2

SunOS abs-test 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V240
SMClibtool  libtool
(sparc) 1.5
What is it?
--
Sincerely Yours,
Alexander Serkin,
Skylink, Moscow
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html