Re: Amanda 2.5.1.p1 & ssh-auth
2007-08-05 12:16:57
Hi Dustin,
the 2.5.2p1 that produce this error were not from Ubuntu but from
the Amanda download page! Only the 2.5.1p1 sources have been downloaded
from Ubuntu. On some machines the Ubuntu sources compile only, when
libreadline5-dev is installed, on some machines they don't need
libreadline... strange...
By the way, to make things even more complicated, the 2.5.2p1 (Amanda
download) compiles without any problem on my private Ubuntu laptop
installation... So to me it looks like Amanda needs some other packages
that are obviously installed on my laptop but not on my office
machines... But I don't have a clue, which one, because configure does
not complain...
I will try deleting the files you mentioned when I am back home
somewhen this evening.
Speak to you soon,
Ralf
Quoting "Dustin J. Mitchell" <dustin AT zmanda DOT com>:
On Sat, Aug 04, 2007 at 09:30:55PM +0200, Ralf Auer wrote:
I am running Ubuntu 7.04 on i386 on the server host. Tried gcc-4.1 and
gcc-3.3. Downloaded 2.5.2p1 from Amanda website.
This is how I configured 2.5.2p1 sources:
./configure
--prefix=/opt/amanda
--with-user=amanda --with-group=backup
--with-gnutar=/bin/tar --with-smbclient=/usr/bin/smbclient
--with-gnutar-listdir=/var/amanda/gnutar-lists
--with-tcpportrange=50000,50100 --with-udpportrange=840,860
--with-buffered-dump --with-debugging=/var/amanda/debug
--with-debug-days=10 --with-gnuplot=/usr/bin/gnuplot
--with-configdir=/opt/amanda/etc --with-ssh-security
When I go to make, this is what I get:
gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat
-Wsign-compare -Wfloat-equal -Wold-style-definition -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -o .libs/amoldrecover amrecover.o
display_commands.o extract_list.o help.o set_commands.o uparse.o uscan.o
-lfl ../client-src/.libs/libamclient.so
../common-src/.libs/libamanda.so ../gnulib/.libs/libgnu.a -lm -ltermcap
-lnsl -lresolv -Wl,--rpath -Wl,/opt/amanda/lib
amrecover.o: In function `main':
amrecover.c:(.text+0x1cb1): undefined reference to `process_line'
uparse.o: In function `yyparse':
uparse.c:(.text+0x1ef): undefined reference to `yylex'
uparse.c:(.text+0x51a): undefined reference to `yytext'
uparse.c:(.text+0xcf8): undefined reference to `yylex'
collect2: ld returned 1 exit status
make[1]: *** [amoldrecover] Error 1
make[1]: Leaving directory `/root/amanda-2.5.2p1/oldrecover-src'
make: *** [all-recursive] Error 1
uparse.c, which contains the missing process_line amrecover.c is
referencing, is generated by 'flex' from uparse.y in that directory.
I've only seen this error when uparse.c was generated on a *different*
system, and thus things didn't line up between uparse.c and the rest of
the object files.
Could you try apt-getting the sources afresh, and checking whether
uparse.c already exists? If it does, try deleting it first (and do the
same in recover-src/) and then building again. If this works, then the
problem is an ubuntu bug (the source distro contains files it
shouldn't). If not, if you could tar up the build directory after the
error occurs and place it somewhere I can download it, and give me the
url in private email, I'll see if I can figure out what's going on.
Thanks for the bug report -- ideally Amanda should build on just about
anything that smells vaugely like UNIX.
Dustin
--
Dustin J. Mitchell
Storage Software Engineer, Zmanda, Inc.
http://www.zmanda.com/
--
Ralf Auer Physics Institute IV Office: 2.137
University of Erlangen-Nuremberg Phone: +49-9131-8527087
Erwin-Rommel-Str. 1 Fax: +49-9131-15249
D-91058 Erlangen, Germany Ralf.Auer AT physik.uni-erlangen DOT de
|
|
|