timschmidt / repsnapper

RepSnapper RepRap control software
http://reprap.org/wiki/RepSnapper_Manual:Introduction
154 stars 52 forks source link

Ubuntu 12.04 make #84

Closed epoxi closed 11 years ago

epoxi commented 11 years ago

Hello community,

Here I am again, with a compilation problem.

autoge.sh finishes with the following message:

checking for LIBZIP... no configure: error: Package requirements (libzip >= 0.10.1) were not met:

Requested 'libzip >= 0.10.1' but version of libzip is 0.10

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBZIP_CFLAGS and LIBZIP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Error running configure at ./autogen.sh line 141.

The thing is that ubuntu 12.04 (up to date), comes with version 0.10

epoxi@mars3:~/src/repsnapper$ aptitude show libzip2 Package: libzip2
State: installed Automatically installed: no Version: 0.10-1ubuntu1 Priority: optional Section: libs Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Uncompressed Size: 87.0 k Depends: libc6 (>= 2.14), zlib1g (>= 1:1.1.4) Conflicts: libzip2 Description: library for reading, creating, and modifying zip archives (runtime) libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted.

This package contains the files necessary for running applications that use the libzip library. Homepage: http://www.nih.at/libzip/

epoxi@mars3:~/src/repsnapper$

Any chance to make the souce code accept the ubuntu 12.04 lib versions?

Thanks in advance!!! ePoxi

hurzl commented 11 years ago

try setting libzip>=0.10 in configure.ac

if it works I will change it

epoxi commented 11 years ago

Thanks hurzi!!!

autogen.sh passed without errors and then it compliled flawlessly :D

Thanks again! ePoxi

johnpcass commented 11 years ago

I found that I had to install the package libzip-dev (not just package libzip2) to ensure it would pass configuration and compile (perhaps a tweak to the install dependencies in Ubuntu documentation which only ask for libzip)

hurzl commented 11 years ago

i think this is ubuntu naming packages "dev" if they contain header files?

johnpcass commented 11 years ago

probably. nevertheless, this is the package that you must apt-get install in order to build the software.

John

John Cass Mobile number in Malawi: +265 99 44 21 956 Mobile number in UK: +44 7981 922 535 On 03/10/2012 17:34, hurzl wrote:

i think this is ubuntu naming packages "dev" if they contain header files?

— Reply to this email directly or view it on GitHub https://github.com/timschmidt/repsnapper/issues/84#issuecomment-9110565.