All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling last node version.
@ 2004-03-03 23:04 Ruben Navarro Huedo
  2004-03-04  9:34 ` Tomi Manninen
  0 siblings, 1 reply; 9+ messages in thread
From: Ruben Navarro Huedo @ 2004-03-03 23:04 UTC (permalink / raw)
  To: linux-hams

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all:
We have this problem compiling last node version under Debian/Woody with 2.6.3 
kernel:

linux:~/node-0.3.2# ./configure
Your machine architecture is ... i686
Checking man directory... /usr/share/man
Checking for the existence of the Zlib headers... not found.
            Without Zlib Node will lack compression support
            See INSTALL for more information.

Include support for the AX.25 protocol ? [Y/n]: y
Include support for the NetRom protocol ? [Y/n]: y
Include support for the Rose protocol ? [Y/n]: y
Creating Makefile.include
Creating config.h
Configuration successful
linux:~/node-0.3.2# make
gcc -Wall -Wstrict-prototypes -O2 -g -c user.c
gcc -Wall -Wstrict-prototypes -O2 -g -c util.c
gcc -Wall -Wstrict-prototypes -O2 -g -c nodeusers.c
gcc  -o nodeusers user.o util.o nodeusers.o -lax25 -lax25io
/usr/lib/libax25io.so: referencia a `deflate' sin definir
/usr/lib/libax25io.so: referencia a `inflate' sin definir
/usr/lib/libax25io.so: referencia a `inflateInit_' sin definir
/usr/lib/libax25io.so: referencia a `deflateInit_' sin definir
/usr/lib/libax25io.so: referencia a `inflateEnd' sin definir
/usr/lib/libax25io.so: referencia a `deflateEnd' sin definir
collect2: ld returned 1 exit status
make: *** [nodeusers] Error 1
linux:~/node-0.3.2# dpkg -l | grep ax25
ii  ax25-apps      0.0.6-1        Applications for AX25
ii  ax25-tools     0.0.8-2        AX-25 Tools
ii  libax25        0.0.10-1       ax25 libraries for hamradio applications
ii  libax25-dev    0.0.10-1       ax25 library development files
linux:~/node-0.3.2#

Any help?

Thank's.

- -- 
Ruben Navarro Huedo
eb5esx (arroba) eb5esx.ampr.org
http://www.cabodesantapola.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFARmR40S5G8AO3zN8RAifzAKDAmtN84twRP8KKuVWM7RomE6fpCQCeLzj7
DiF3uR4jAteJZCa9uG50EEI=
=30XM
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Compiling last node version.
  2004-03-03 23:04 Ruben Navarro Huedo
@ 2004-03-04  9:34 ` Tomi Manninen
  2004-03-04 10:02   ` Ruben Navarro Huedo
  0 siblings, 1 reply; 9+ messages in thread
From: Tomi Manninen @ 2004-03-04  9:34 UTC (permalink / raw)
  To: Linux-hams List

On Thu, 2004-03-04 at 01:04, Ruben Navarro Huedo wrote:

> Checking for the existence of the Zlib headers... not found.
>             Without Zlib Node will lack compression support
>             See INSTALL for more information.

This is important. Zlib is not required and this *should* not be
fatal as such. However see below. 

> gcc  -o nodeusers user.o util.o nodeusers.o -lax25 -lax25io
> /usr/lib/libax25io.so: referencia a `deflate' sin definir
> /usr/lib/libax25io.so: referencia a `inflate' sin definir
> /usr/lib/libax25io.so: referencia a `inflateInit_' sin definir
> /usr/lib/libax25io.so: referencia a `deflateInit_' sin definir
> /usr/lib/libax25io.so: referencia a `inflateEnd' sin definir
> /usr/lib/libax25io.so: referencia a `deflateEnd' sin definir

Libax25 seems to be compiled with zlib support. That would suggest
that you have zlib installed (because of package dependencies).
But apparently zlib-dev is not installed?

The lack of zlib headers (from zlib-dev) makes node's configure
script drop the necessary linking option for zlib ('-lz' missing
at the end of the gcc command). And libax25io doesn't like that...

Conclusion: install zlib-dev.

> ii  libax25        0.0.10-1       ax25 libraries for hamradio applications
> ii  libax25-dev    0.0.10-1       ax25 library development files

This is not directly related but you really should upgrade to
libax25-0.0.11. Version 0.0.10 is buggy and can cause strange effects
with node-0.3.2.

-- 
Tomi Manninen / OH2BNS / KP20ME04


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Compiling last node version.
  2004-03-04  9:34 ` Tomi Manninen
@ 2004-03-04 10:02   ` Ruben Navarro Huedo
  2004-03-04 13:36     ` Tomi Manninen
  2004-03-04 23:35     ` Rad, Darius
  0 siblings, 2 replies; 9+ messages in thread
From: Ruben Navarro Huedo @ 2004-03-04 10:02 UTC (permalink / raw)
  To: Tomi Manninen; +Cc: linux-hams

>
> Conclusion: install zlib-dev.
>

Installed now and compiled OK ... A lot of thank's :)

>> ii  libax25        0.0.10-1       ax25 libraries for hamradio
>> applications
>> ii  libax25-dev    0.0.10-1       ax25 library development files
>
> This is not directly related but you really should upgrade to
> libax25-0.0.11. Version 0.0.10 is buggy and can cause strange effects
> with node-0.3.2.
>

Do you know about some Debian repository to download libax25-0.0.11

A lot of thank's.

-- 
Ruben Navarro Huedo
eb5esx (arroba) eb5esx.ampr.org
http://www.cabodesantapola.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Compiling last node version.
  2004-03-04 10:02   ` Ruben Navarro Huedo
@ 2004-03-04 13:36     ` Tomi Manninen
  2004-03-04 18:17       ` Leo Bistmans
  2004-03-04 23:35     ` Rad, Darius
  1 sibling, 1 reply; 9+ messages in thread
From: Tomi Manninen @ 2004-03-04 13:36 UTC (permalink / raw)
  To: Linux-hams List

On Thu, 2004-03-04 at 12:02, Ruben Navarro Huedo wrote:

> Do you know about some Debian repository to download libax25-0.0.11

No (I don't use debian) but I'm sure someone on the list can help
you with this.

-- 
Tomi Manninen / OH2BNS / KP20ME04


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Compiling last node version.
  2004-03-04 13:36     ` Tomi Manninen
@ 2004-03-04 18:17       ` Leo Bistmans
  0 siblings, 0 replies; 9+ messages in thread
From: Leo Bistmans @ 2004-03-04 18:17 UTC (permalink / raw)
  To: Tomi Manninen; +Cc: linux-hams

On Thu, 04 Mar 2004 15:36:41 +0200
Tomi Manninen <oh2bns@sral.fi> wrote:

> On Thu, 2004-03-04 at 12:02, Ruben Navarro Huedo wrote:
> 
> > Do you know about some Debian repository to download libax25-0.0.11
> 
> No (I don't use debian) but I'm sure someone on the list can help
> you with this.

 Cannot find a backport debian package for it either.   So one can compile the .0.0.11-2 that is found in unstable or testing.  Compiling it on your local system makes sure there will be no library mismatch.

 1) add deb-src source repository in the /etc/apt/sources.list

  deb-src http://ftp.belnet.be/debian unstable main 

 2) read them

  apt-get update

 3à) fetch the source and compile

  apt-get -b source libax25

 4) if all goes well, install the two generated packages

  dpkg -i libax25_0.0.11-2_i386.deb
  dpkg -i libax25-dev_0.0.11-2_i386.deb

 There might be more paths to do it

 Good Luck, on1aad
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Compiling last node version.
@ 2004-03-04 23:09 Ruben Navarro Huedo
  2004-03-05  0:29 ` Hamish Moffatt
  0 siblings, 1 reply; 9+ messages in thread
From: Ruben Navarro Huedo @ 2004-03-04 23:09 UTC (permalink / raw)
  To: on1aad; +Cc: linux-hams

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank's for your answer.
Trying it:

$ apt-get -b source libax25
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 235kB of source archives.
Get:1 http://ftp.belnet.be unstable/main libax25 0.0.11-2 (dsc) [598B]
Get:2 http://ftp.belnet.be unstable/main libax25 0.0.11-2 (tar) [231kB]
Get:3 http://ftp.belnet.be unstable/main libax25 0.0.11-2 (diff) [2831B]
Fetched 235kB in 10s (21.6kB/s)
dpkg-source: extracting libax25 in libax25-0.0.11
dpkg-buildpackage: source package is libax25
dpkg-buildpackage: source version is 0.0.11-2
dpkg-buildpackage: source maintainer is Bruce Walker <w1bw@debian.org>
dpkg-buildpackage: host architecture is i386
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>=4)
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
Build command 'cd libax25-0.0.11 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
$ cd libax25.....
libax25-0.0.11 $ dpkg-buildpackage -b -uc -d
dpkg-buildpackage: source package is libax25
dpkg-buildpackage: source version is 0.0.11-2
dpkg-buildpackage: source maintainer is Bruce Walker <w1bw@debian.org>
dpkg-buildpackage: host architecture is i386
 debian/rules clean
dh_testdir
make: dh_testdir: No se encontró el programa
make: *** [clean] Error 127

Any help?

A lot of thank's.
- -- 
Ruben Navarro Huedo
eb5esx (arroba) eb5esx.ampr.org
http://www.cabodesantapola.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAR7cO0S5G8AO3zN8RArdAAJ9QLiARAFd3t2FZmn1EiQotTN0QdwCdGW5W
rqGNOu7C6U0Rf7iGXSdxvQo=
=Q5jv
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Compiling last node version.
  2004-03-04 10:02   ` Ruben Navarro Huedo
  2004-03-04 13:36     ` Tomi Manninen
@ 2004-03-04 23:35     ` Rad, Darius
  1 sibling, 0 replies; 9+ messages in thread
From: Rad, Darius @ 2004-03-04 23:35 UTC (permalink / raw)
  To: Ruben Navarro Huedo; +Cc: linux-hams

On Thu, Mar 04, 2004 at 11:02:57AM +0100, Ruben Navarro Huedo wrote:
> 
> Do you know about some Debian repository to download libax25-0.0.11
> 

Debian testing and unstable have version 0.0.11-2 of packages libax25
and libax25-dev, which should be available from any official mirror.

// darius


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Compiling last node version.
  2004-03-04 23:09 Compiling last node version Ruben Navarro Huedo
@ 2004-03-05  0:29 ` Hamish Moffatt
  2004-03-06 20:07   ` Bob Snyder
  0 siblings, 1 reply; 9+ messages in thread
From: Hamish Moffatt @ 2004-03-05  0:29 UTC (permalink / raw)
  To: linux-hams

On Fri, Mar 05, 2004 at 12:09:01AM +0100, Ruben Navarro Huedo wrote:
> dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>=4)

> libax25-0.0.11 $ dpkg-buildpackage -b -uc -d
> dpkg-buildpackage: source package is libax25
> dpkg-buildpackage: source version is 0.0.11-2
> dpkg-buildpackage: source maintainer is Bruce Walker <w1bw@debian.org>
> dpkg-buildpackage: host architecture is i386
>  debian/rules clean
> dh_testdir
> make: dh_testdir: No se encontró el programa
> make: *** [clean] Error 127
> 
> Any help?

Install the missing build dependencies ie debhelper >= 4.


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Compiling last node version.
  2004-03-05  0:29 ` Hamish Moffatt
@ 2004-03-06 20:07   ` Bob Snyder
  0 siblings, 0 replies; 9+ messages in thread
From: Bob Snyder @ 2004-03-06 20:07 UTC (permalink / raw)
  To: linux-hams

Hamish Moffatt wrote:
> On Fri, Mar 05, 2004 at 12:09:01AM +0100, Ruben Navarro Huedo wrote:
> 
>>dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>=4)
[...]
> Install the missing build dependencies ie debhelper >= 4.

Or even simpler: "apt-get build-dep libax25" which will install the 
build dependencies for libax25, assuming they can be met with the 
package sources you have defined.

Or live in the fast and mildly dangerous lane by running debian 
unstable, or less risky, debian testing. :-)

Bob N2KGO


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-03-06 20:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-04 23:09 Compiling last node version Ruben Navarro Huedo
2004-03-05  0:29 ` Hamish Moffatt
2004-03-06 20:07   ` Bob Snyder
  -- strict thread matches above, loose matches on Subject: below --
2004-03-03 23:04 Ruben Navarro Huedo
2004-03-04  9:34 ` Tomi Manninen
2004-03-04 10:02   ` Ruben Navarro Huedo
2004-03-04 13:36     ` Tomi Manninen
2004-03-04 18:17       ` Leo Bistmans
2004-03-04 23:35     ` Rad, Darius

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.