You are not logged in.

#1 2009-01-31 22:23:01

pappbox
Member
From: Norway
Registered: 2008-01-04
Posts: 42

[solved] error while compiling pkg

Hi

when i run makpkg I get

[dust@BigBox libg15]$ makepkg
==> Making package: libg15 1.2.7-1 i686 (lø. 31. jan. 23:18:07 +0100 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found libg15-1.2.7.tar.bz2 in build dir
==> Validating source files with md5sums...
    libg15-1.2.7.tar.bz2 ... Passed
==> Extracting Sources...
  -> bsdtar -x -f libg15-1.2.7.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
checking build system type... Invalid configuration `i686-pc-linux-oldld': machine `i686-pc-linux' not recognized
configure: error: /bin/sh config/config.sub i686-pc-linux-oldld failed
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...

Please help me learn smile

Last edited by pappbox (2009-02-01 04:10:01)

Offline

#2 2009-01-31 22:33:24

ahcaliskan
Member
From: Sweden
Registered: 2008-10-29
Posts: 174

Re: [solved] error while compiling pkg

here is your first lesson: thecompiler doesn't recognize i686-pc-linux-oldld smile  Do you have the base-devel packages installed?

Last edited by ahcaliskan (2009-01-31 22:38:11)

Offline

#3 2009-01-31 22:47:40

pappbox
Member
From: Norway
Registered: 2008-01-04
Posts: 42

Re: [solved] error while compiling pkg

haha, noo tongue

I'm fucked!
solved my problem by the installing base-devel packages

Offline

#4 2009-01-31 23:01:12

pappbox
Member
From: Norway
Registered: 2008-01-04
Posts: 42

Re: [solved] error while compiling pkg

After installing libg15 succsessfully i get this error while intalling libg15render

[dust@BigBox g15render]$ makepkg
==> Making package: libg15render 1.2-2 i686 (lø. 31. jan. 23:58:28 +0100 2009)
==> Checking Runtime Dependencies...
==> Missing Dependencies:
  -> libg15
==> Checking Buildtime Dependencies...
==> ERROR: Could not resolve all dependencies

Succsessfull install:

==> Making package: libg15 1.2.7-1 i686 (sø. 01. feb. 00:00:06 +0100 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found libg15-1.2.7.tar.bz2 in build dir
==> Validating source files with md5sums...
    libg15-1.2.7.tar.bz2 ... Passed
==> Extracting Sources...
  -> bsdtar -x -f libg15-1.2.7.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for main in -lusb... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for an ANSI C-conforming const... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory `/home/dust/Desktop/g15tool/libg15/src/libg15-1.2.7'
make[1]: Leaving directory `/home/dust/Desktop/g15tool/libg15/src/libg15-1.2.7'
make[1]: Entering directory `/home/dust/Desktop/g15tool/libg15/src/libg15-1.2.7'
test -z "/usr/lib" || /bin/mkdir -p "/home/dust/Desktop/g15tool/libg15/pkg/usr/lib"
 /bin/sh ./libtool   --mode=install /bin/install -c  'libg15.la' '/home/dust/Desktop/g15tool/libg15/pkg/usr/lib/libg15.la'
/bin/install -c .libs/libg15.so.1.0.0 /home/dust/Desktop/g15tool/libg15/pkg/usr/lib/libg15.so.1.0.0
(cd /home/dust/Desktop/g15tool/libg15/pkg/usr/lib && { ln -s -f libg15.so.1.0.0 libg15.so.1 || { rm -f libg15.so.1 && ln -s libg15.so.1.0.0 libg15.so.1; }; })
(cd /home/dust/Desktop/g15tool/libg15/pkg/usr/lib && { ln -s -f libg15.so.1.0.0 libg15.so || { rm -f libg15.so && ln -s libg15.so.1.0.0 libg15.so; }; })
/bin/install -c .libs/libg15.lai /home/dust/Desktop/g15tool/libg15/pkg/usr/lib/libg15.la
libtool: install: warning: remember to run `libtool --finish /usr/lib'
test -z "/usr/include" || /bin/mkdir -p "/home/dust/Desktop/g15tool/libg15/pkg/usr/include"
 /bin/install -c -m 644 'libg15.h' '/home/dust/Desktop/g15tool/libg15/pkg/usr/include/libg15.h'
make[1]: Leaving directory `/home/dust/Desktop/g15tool/libg15/src/libg15-1.2.7'
==> Tidying install...
  -> Compressing man pages...
  -> Stripping debugging symbols from binaries and libraries...
  -> Removing libtool .la files...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libg15 1.2.7-1 i686 (sø. 01. feb. 00:00:14 +0100 2009)

Offline

#5 2009-01-31 23:28:22

ahcaliskan
Member
From: Sweden
Registered: 2008-10-29
Posts: 174

Re: [solved] error while compiling pkg

I'm glad to hear that you finnished your fist lesson with high scores smile Here is your second lesson: always compile packages with -s to solve dependencies!:

makepkg -s

Last edited by ahcaliskan (2009-01-31 23:31:43)

Offline

#6 2009-02-01 03:53:41

pappbox
Member
From: Norway
Registered: 2008-01-04
Posts: 42

Re: [solved] error while compiling pkg

Thanks proffessor !

But it didn't work with makepkg -s
I get:

[dust@BigBox libg15render]$ makepkg -s
==> Making package: libg15render 1.2-2 i686 (sø. 01. feb. 04:48:41 +0100 2009)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
libg15 package not found, searching for group...
error: 'libg15': not found in sync db
==> ERROR: Pacman failed to install missing dependencies.
[dust@BigBox libg15render]$ pacman -Q libg15
error: package "libg15" not found

Sometimes I can be a pain in the ass...
Damn, wish I was Chuck Norris tongue

Last edited by pappbox (2009-02-01 04:01:14)

Offline

#7 2009-02-01 03:58:43

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,402
Website

Re: [solved] error while compiling pkg

It looks like you have not installed libg15.  Use "pacman -U <pkgfile>" where pkgfile is the package for libg15 that you have built.

Offline

#8 2009-02-01 04:01:23

ahcaliskan
Member
From: Sweden
Registered: 2008-10-29
Posts: 174

Re: [solved] error while compiling pkg

==> Installing missing dependencies...
libg15 package not found, searching for group...
error: 'libg15': not found in sync db

ok, it means that since libg15 isn't found in any official repository, you'll have to install it first and then compile libgl15renser. And since you've compiled libg15 successfully, you'll need to install it:

sudo pacman -U libg15-*

Edit: just like allan wrote, follow the instructions and you'll master the art of arching! smile

Last edited by ahcaliskan (2009-02-01 04:03:47)

Offline

#9 2009-02-01 04:09:36

pappbox
Member
From: Norway
Registered: 2008-01-04
Posts: 42

Re: [solved] error while compiling pkg

Thank you guys so mouch!

Solved my problem smile

Offline

Board footer

Powered by FluxBB