You are not logged in.

#1 2006-05-18 10:03:52

orestis
Member
From: Cyprus
Registered: 2006-03-08
Posts: 32

package build error [SOLVED]

Hi there.

I am trying to build a pkg (nitrogen) from AUR using ABS. All the dependancies are installed, however i get an error from the configure script.

the makepkg output is :

==> Making package: nitrogen 1.0_rc2-1 (Thu May 18 12:56:43 UTC 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of nitrogen-1.0-rc2.tar.gz
==> Validating source files with MD5sums
    nitrogen-1.0-rc2.tar.gz ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf nitrogen-1.0-rc2.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... ccache gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ccache gcc accepts -g... yes
checking for ccache gcc option to accept ANSI C... none needed
checking dependency style of ccache gcc... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... ccache cpp
checking for egrep... grep -E
checking for ANSI C header files... yes
./configure: line 3450: ++: command not found
checking whether we are using the GNU C++ compiler... yes
checking whether ccache g++ accepts -g... yes
checking dependency style of ccache g++... gcc3
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking how to run the C++ preprocessor... ccache g++ -E
checking for ANSI C header files... (cached) yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB2... configure: error: Package requirements (glib-2.0 >= 2.6.0) were not met:

No package 'glib-2.0' found

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

Alternatively, you may set the environment variables GLIB2_CFLAGS
and GLIB2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

glib2 is also installed on the system.

Any ideas why this happens?

Thanks in advance.

Offline

#2 2006-05-18 10:44:23

orestis
Member
From: Cyprus
Registered: 2006-03-08
Posts: 32

Re: package build error [SOLVED]

Ok i solved it. I had to install pkg-config in /usr and not in the default /usr/local

Offline

Board footer

Powered by FluxBB