On Wed, Aug 11, Tomi Manninen OH2BNS wrote:
> On Tue, 10 Aug 1999, Gareth Rowlands wrote:
>
> > The slackware 3.6 has been augmented with Kernel 2.2.10 and net-tools 1.52
> > The glibc already supplied with the distribution is 2.0.7
>
> > [...]
> >
> > ax25-apps-0.0.3
> > ----------------
> >
> > Compiles and installs OK. If you have a 'heritage' installation like
> > mine, you may find that 'call' and 'listen' etc. complain of being
> > unable to open the axports file
> >
> > Within the directory /usr/local/etc set a link to /etc/ax25
> >
> > ln -s /etc/ax25 ax25
I've got the same problem with ax25-tools especially the binary of
"kissparms".
> I'd suggest you instead do the following:
>
> 1. Run "make uninstall"
> 2. Run "./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var"
> 3. Run "make" and "make install".
I did this and everything except "kissparms" runs fine and finds its
config file. To be sure I did
configure --host=i486-unknown-linux-gnu --prefix= --exec-prefix=
--bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var
--libdir=/usr/lib --includedir=/usr/include --infodir=/usr/info
--mandir=/usr/man
but kissparms still complains.
---cut---
# strace kissparms
execve("/usr/sbin/kissparms", ["kissparms"], [/* 54 vars */]) = 0
brk(0) = 0x804a288
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=40621, ...}) = 0
mmap(NULL, 40621, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
close(3) = 0
open("/usr/lib/libax25.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=115093, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \34\0\000"...,
4096) =
4096
mmap(NULL, 32396, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000
mprotect(0x40026000, 3724, PROT_NONE) = 0
mmap(0x40026000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x6000) =
0x40026000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4182734, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\205"...,
4096) = 40
96
mmap(NULL, 1018396, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40027000
mprotect(0x40118000, 31260, PROT_NONE) = 0
mmap(0x40118000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xf0000)
= 0x40118000
mmap(0x4011d000, 10780, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOU
S, -1, 0) = 0x4011d000
close(3) = 0
mprotect(0x40027000, 987136, PROT_READ|PROT_WRITE) = 0
mprotect(0x40027000, 987136, PROT_READ|PROT_EXEC) = 0
munmap(0x40015000, 40621) = 0
personality(PER_LINUX) = 0
getpid() = 26853
brk(0) = 0x804a288
brk(0x804a428) = 0x804a428
brk(0x804b000) = 0x804b000
open("/usr/etc/ax25/axports", O_RDONLY) = -1 ENOENT (No such file or
^^^^^
directory)
write(2, "axconfig: unable to open axports"..., 38axconfig: unable to open
axpor
ts file
) = 38
write(2, "kissparms: no AX.25 ports config"..., 37kissparms: no AX.25
ports conf
igured
) = 37
_exit(1) = ?
---cut---
Where the hell does this prefix "/usr/etc" come from? An error of the
libax25 function "ax25_config_load_ports()"?
Regards, Kai
--
Kai Altenfelder, SuSE GmbH, Schanzaeckerstr. 10, D-90443 Nuernberg
Tel.: +49-911-74053-0, Fax: +49-911-3206727, EMail: [EMAIL PROTECTED]
Ham: DL3LBA PGP public key available