Hello, termcap an ncurses is one of the bigger Linux/Unix nightmares for a developer, and one of the principle reasons I dropped support for readline. What the Novell discussion forum said was probably true, but the reality of life is that almost every machine seems to be different and the developer has to try to cope with the differences.
If you are using readline, you are on your own (with hopefully help from the list), because I gave up on supporting it with all their incompatible versions (possibly a RedHat problem) a long time ago. If you are using conio (homebrew vastly simplified version of readline see manual for --enable-conio), Bacula *should* detect the libraries that are installed and use the correct one. You just need to be sure that you have all the development libraries installed. The first thing to do is to read the install section of the manual because there is a section that *explicitly* deals with this problem on SuSE, with a suggested fix. If that doesn't work, try doing an "rpm -qa | sort >some-file" on both machines and compare the output. You will most likely find that you have some differences, i.e. missing rpms or some old incompatible ones on the different machines. When you find out what the problem is, please let us know, and I will ensure it gets added to the doc. On Wednesday 14 June 2006 23:09, Richard White wrote: > This exercise relates to a requirement that I be able to install a working > Bacula on a computer in the event that our production Bacula server failed. > The test was a success, but with some qualifications. > > In the first place, our working Bacula server is on Red Hat. Since we are a > Novell shop, my boss wanted me to run this exercise on a SuSE distro. I > used SLES 9.3 and got somewhat peculiar results. > > I installed SLES 9.3 from the same CD set on two computers. The only > difference in the installs is that on computer #2, I neglected to choose > the gcc suite, while on computer #1 I chose the c develpment tools during > install. > > I installed the same version of Bacula (3.3.6, the version that is on the > production server) on each computer, but encounter an error when I run make > on computer #1. No errors on computer #2. Here is the error: > > usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: > cannot find -ltermcap > > My research has indicated that this is the library for the termcap program, > and I used YaST to install termcap; I could find no entries for "ltermcap" > or "libtermcap". > > How can I get this package onto my server? > > I posted this question on the Novell discussion forum, and the answer was > that, for the last ten years only Red Hat has used libtermcap. I was advise > to try linking to -lncurses instead, with the admonition that I would need > to install ncurses-devel. I am sure I would have to edit a make file to > handle this. > > I am certainly willing to attempt this, though I have little doubt that I > will be groping around a bit, since I am new to this realm. I do know how > to use an editor, though. > > It is still curious, isn't it, that make ran without problems on one > computer and not on another when they were both set up with the same CDs, > both of the OS and the app? > > Does anyone have any comments or advice? > > Richard White > Network Engineer > Mason County, Washington > > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users