Linux-Hams archive - September 1997: Re: compiling ax25-utils-2.1.42

Re: compiling ax25-utils-2.1.42

Richard Adams (terhi.victor@logonet.com)
Mon, 1 Sep 1997 10:13:05 +0000 (GMT)


According to Edward J. Young, While burning my cpu.:
>
>
>
> Thanx for the help. I think I'm making progress...
>
> I managed to fix the errors related to having the asm directory
> pointing off into some old codebase and got by one error only to be
> foiled by another.
>
This could explane why you did not get an error message about symlinks upon
doing a "make config"

> I'm working on the 2.0.30 codebase and managed to get the apply the
> patch as you suggested. The kernel compiled how I want it. Running
> make config on the ax25-utils-2.1.42 passes except for a warning about
> not being able to find the Xforms library which it claims it will only
> result in ommissions in certain tools.
>
> ...
> I believe this was the only warning but when I ran
> make
> it errored out with:
>
> gcc -Wall -Wstrict-prototypes -O2 -I/usr/X11R6/include -c smdiag.c
> smdiag.c:46: X11/Xlib.h: No such file or directory
> smdiag.c:47: X11/Xutil.h: No such file or directory
> make[1]: *** [smdiag.o] Error 1
> make[1]: Leaving directory
> `/usr/src/linux-2.0.30/ax25-utils-2.1.42/hdlcutil'
> make: *** [all] Error 2
>
> So apparently it is *not* ok.
>
> Xf86Setup. THis worked nicely and I'm able to run X, but I must not
> have the source in place. Do I need to get the source (X331src-1.tgz?)
> and build it and install it? Will this break my existing X setup?
>
/usr/X11R6/include/X11/Xlib.h
/usr/X11R6/include/X11/Xutil.h
That is where they should be, maybe you have theses files but in another
path, it could also be that you are once again missing a symlink higher up
in the structure, there should be a link in /usr for X11 pointing to X11R6,
or thats the way my slackware system is.

Another reason for saying "you may" have a different structure is because
the configure script is finding an X directory and the files in question,
otherwise you should have seen a message while doing "make config", take
a look at ax25-utils/lib/configure, this script checks around to see if the
needed files and directorys are there.
Take a look at INSTALL, it has some handy comments and explantions.
Installing the X-source with "setup" (if needed) should not break anyting.

Hope this helps.

> Thanx,
>
> Ed
> NL7FU
> cgp@fr.ch
>

-- 
Regards Richard, 73.              | "I see" said the blind man to his
AX25  pa3gcu@pi8mid.#zld.nld.eu   |  deaf en dumb daughter, who replyed,
smtp  atpv@acc-seattle.org      | "Yes" Linux AX25. NET/ROM, "I have heard
inet  tedjfcih.yvjhzd@tamperd.net |  that what you see is what you get".