Re: [Hamlib-developer] TS-870: test 2
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Joop S. <pa...@de...> - 2002-01-05 15:28:32
|
On Thu, 3 Jan 2002 00:08:14 +0100 Stephane Fillod <f4...@fr...> wrote: > In the meantime something is > devised, the workaround I would recommand is to set LD_LIBRARY_PATH > to the path where your backend modules are installed: > > export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" > Ok this works. > > Secondly, make install fails in the include directory. > > include/Makefile.am has lines like: > > > > includedir = @includedir@/hamlib > > include_HEADERS = hamlib/rig.h hamlib/riglist.h hamlib/rig_dll.h \ > > hamlib/rotator.h hamlib/rotlist.h hamlib/rigclass.h > > > > which causes /usr/local/include/hamlib to be created (correct) and > > header files want to go into /usr/local/include/hamlib/hamlib, > > which fails. The fix is trivial I guess. > > Huh!? can you send me some traces and also your autoconf/automake version > numbers? I don't have any header install problems here with > autoconf-2.52-4 and automake-1.5-1.1 (debian woody). > Maybe it's my stupidity.... It happens when I make a modification to one of the files in the kenwood directory, save it and do a "make; make install". Here is the trace: Making install in include make[1]: Entering directory `/home/aba/Projects/hamlib/hamlib-test/hamlib.pa4tu/include' make[2]: Entering directory `/home/aba/Projects/hamlib/hamlib-test/hamlib.pa4tu/include' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../mkinstalldirs /usr/local/include/hamlib /usr/bin/install -c -m 644 hamlib/rig.h /usr/local/include/hamlib/hamlib/rig.h /usr/bin/install: cannot create regular file `/usr/local/include/hamlib/hamlib/rig.h': No such file or directory . . . /usr/bin/install -c -m 644 hamlib/rigclass.h /usr/local/include/hamlib/hamlib/rigclass.h /usr/bin/install: cannot create regular file `/usr/local/include/hamlib/hamlib/rigclass.h': No such file or directory make[2]: *** [install-includeHEADERS] Error 1 make[2]: Leaving directory `/home/aba/Projects/hamlib/hamlib-test/hamlib.pa4tu/include' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/aba/Projects/hamlib/hamlib-test/hamlib.pa4tu/include' make: *** [install-recursive] Error 1 versions: automake 1.4-p4, autoconf 2.52 (Debian Sid). I have checked out the CVS version of January 5th. set_vfo/get_vfo, set_freq/get_freq, set_mode/get_mode are all OK. I have attached a simple patch which fixes rig_get_strength and rig_get_level for the attenuator, RF, SQL, AF and MIC gain. It also displays signal strength in db now. More later... Regards, Joop |