From: Kern S. <ke...@si...> - 2003-02-28 17:18:48
|
Hello, Try eliminating static linking. It isn't 100% necessary, and you probably don't have part or all the statically linked system libraries loaded on your system. All the items "Statically Linked Tools, ..." should say no. Best regards, Kern On Fri, 2003-02-28 at 16:56, Sherwood McGowan wrote: > Hrm... > Ok, I get your point, and I tried it, to no avail. I just did a make > distclean, and now reconfiguring. > Hate to be a list hog, but here's the configure.out from this most > recent configure. > > Configuration on Fri Feb 28 09:55:40 CST 2003: > > Host: i686-pc-linux-gnu -- redhat (dolphin) > Bacula version: 1.29 (22 January 2003) > Source code location: . > Install binaries: /root/bacula/bin > Install config files: /root/bacula/bin > C Compiler: gcc > C++ Compiler: c++ > Compiler flags: -g -Wall > Linker flags: > Libraries: -lpthread > Statically Linked Tools: yes > Statically Linked FD: yes > Statically Linked SD: yes > Statically Linked DIR: yes > Statically Linked CONS: yes > Database type: MySQL > Database lib: -L/usr/lib/mysql -lmysqlclient -lz > > Job Output Email: root@localhost > Traceback Email: root@localhost > SMTP Host Address: localhost > Director Port 9101 > File daemon Port 9102 > Storage daemon Port 9103 > Working directory /root/bacula/working > SQL binaries Directory /usr/bin > > Large file support: yes > readline support: no > TCP Wrappers support: no > ZLIB support: yes > enable-smartalloc: yes > enable-gnome: yes > client-only: no > > Now I'm running the make all, then make install (from the root directory > of the detarred folder)..... > Watching the output for strange messages.... > > could not find -lpthread > Error in /mnt/WINNTH/Software/linux/Bacula/bacula-1.29/src/stored > Error in /mnt/WINNTH/Software/linux/Bacula/bacula-1.29/src/dird > Make of tools is good > > Sounds like some problems... What's lpthread? I downloaded and built the > depkgs1 package.... What am I missing here? > > Cheers, > S McGowan > > Original Message > From: Kern Sibbald [mailto:ke...@si...] > Sent: Friday, February 28, 2003 8:14 AM > To: Sherwood McGowan > Subject: RE: Issues Building the console > > Hello, > > You are probably executing the program from the source > directory rather than from the installation directory. > In the source directory, console is a script that simply > cd's to where it things the binary should be then executes > the binary. Apparently something is not properly setup. > An examination of the contents of the file would probably > give you a good idea of what is going on. > > Your best bet is to run it from the binary directory that > you defined on your ./configure, where the actual binary > should reside after a "make install". > > Best regards, > > Kern > > On Fri, 2003-02-28 at 14:44, Sherwood McGowan wrote: > > I've downloaded depkgs1 and run make. I ran configure, and then make, > > then make install. Everything seems to work, then when I run console, > I > > get the following: > > [user@server bacula]./console > > ./console: line 7: ./console: No such file or directory > > > > Any ideas? > > > > Sherwood McGowan > > > > -----Original Message----- > > From: Kern Sibbald [mailto:ke...@si...] > > Sent: Thursday, February 27, 2003 4:19 PM > > To: Sherwood McGowan > > Subject: Re: Issues Building the console > > > > Hello, > > > > You have several choices to make it work: > > > > 1. Find a copy of readline and install it on your system. Normally > > if it is installed on your system Bacula will automatically > > find it in the appropriate library. > > > > 2. Download the depkgs1 package from Source Forge, which contains > > a copy of readline, and build the readline that is in that > > package. It is not necessary to install it on your system, > > but it is necessary to build it. > > > > Then when doing ./configure, you add --with-readline=directory > > where you built readline. > > > > 3. Build Bacula without readline by adding --disable-readline to the > > ./configure command line. Readline is only used by the console > > program for command history and for command line editing. It is > > perfectly functional without readline, but not as convenient. > > > > Best regards, > > > > Kern > > > > > > On Thu, 2003-02-27 at 23:16, Sherwood McGowan wrote: > > > Just a quick note, I get some errors while building the package, and > > > have no console available to me. When I attempt to build from the > > > <untarred directory>/src/console directory, I get: > > > > > > c++ -c -I/mnt/WINNTH/Software/linux/Bacula/depkgs -I. -I.. -g > > -Wall > > > console.c > > > console.c:321:31: readline/readline.h: No such file or directory > > > console.c:322:30: readline/history.h: No such file or directory > > > console.c: In function `int get_cmd(FILE*, char*, BSOCK*, int)': > > > console.c:331: `readline' undeclared (first use this function) > > > console.c:331: (Each undeclared identifier is reported only once for > > > each function it appears in.) > > > console.c:340: `add_history' undeclared (first use this function) > > > make: *** [console.o] Error 1 > > > > > > from the process. > > > Please help, this system is definitely what we were looking for. > > > > > > Sherwood McGowan > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Bacula-users mailing list > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users |