SliTaz SliTaz Forum

You are not logged in.

#1 2015-12-06 16:20:29

alexx
Member
Registered: 2015-11-14
Posts: 49

configure: error: C compiler cannot create executables

Please help me compile new version of package aqualung, old version have a bug - after end playlist this crashed and die https://lists.debian.org/debian-qa-packages/2014/05/msg00122.html

I download latest version aqualung-1.0.tar.gz, extract in my pc and read docs and have this problem -

configure: error: C compiler cannot create executables

I install package

automake (1.11.1)

cmake (2.8.5)

make (3.82)

gnustep-make (2.6.0)

make (3.82)

cookutils,

but problem not solved

Offline

#2 2015-12-06 17:57:35

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: configure: error: C compiler cannot create executables

Check the config.log file (created by configure)

Offline

#3 2015-12-07 04:18:38

alexx
Member
Registered: 2015-11-14
Posts: 49

Re: configure: error: C compiler cannot create executables

http://paste.slitaz.org/?62e5ed04813a21f3#+DklpvBH0rcwPxU0fJFsZmDxqUZKowk2nEeXn6GH+hY=

I install new gcc version, test tcc (configure CC=tcc)..

Offline

#4 2015-12-07 13:52:06

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: configure: error: C compiler cannot create executables

Install glibc-dev. It provides crt1.o, crti.o, crtn.o, libc.so

Offline

#5 2015-12-07 15:24:19

llev
Member
Registered: 2011-12-09
Posts: 568

Re: configure: error: C compiler cannot create executables

[c]tazpkg -gi glibc-dev[/c]

A failed compilation is most often due to missing libs (or lib headers, in -dev packages).

In your log, look:

[c]/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory[/c]
Then search these files with [c]tazpkg -sf[/c], and you'll find [c]glibc-dev[/c].

edit: Pascal beats me. I forgot to reload the page before replying smile

Offline

#6 2015-12-07 18:14:22

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: configure: error: C compiler cannot create executables

Minimum packages required to compile software on slitaz:

[c]tazpkg -gi slitaz-toolchain[/c]

Meta package auto-installs=> "binutils linux-api-headers glibc-dev gcc make elfkickers"

Offline

#7 2015-12-09 06:56:44

alexx
Member
Registered: 2015-11-14
Posts: 49

Re: configure: error: C compiler cannot create executables

@llev, exellent choise my profile image, right? everything help me big_smile

but really thanks for help me and other Slitaz Community, becase it's your free time, Slitaz compilation and Linux help me learning, work and listen sound, whery whery thaks!

next message >

checking for xml... no

configure: error: in `/home/user1/Downloads/aqualung-1.0':

configure: error: The pkg-config script could not be found or is too old.  Make sure it

is in your PATH or set the PKG_CONFIG environment variable to the full

path to pkg-config.

Alternatively, you may set the environment variables xml_CFLAGS

and xml_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

Offline

#8 2015-12-10 05:01:24

alexx
Member
Registered: 2015-11-14
Posts: 49

Re: configure: error: C compiler cannot create executables

i try set libxml, install in system

./configure xml_CFLAGS=libxml2

./configure xml_LIBS=libxml2

no result, isset ideas?

Offline

#9 2015-12-10 11:51:24

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: configure: error: C compiler cannot create executables

Add libxml2-dev in BUILD_DEPENDS ?

Offline

#10 2015-12-10 20:56:23

llev
Member
Registered: 2011-12-09
Posts: 568

Re: configure: error: C compiler cannot create executables

Hi,

@Pascal: I don't think alexx is writing a receipt smile

@alexx: I thought you were compiling a package that's missing in the repo. I've just found aqualung is there but an older version. So this older version is buggy and the newer one should not be?

FYI, the build dependencies of the older version are: gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev flac-dev lame-dev libsamplerate-dev libmad-dev libsndfile-dev libxml2-dev bzip2-dev, so if I were you I'd start installing all of these before trying to compile.

BTW, is this a picture of you? smile

Offline

#11 2015-12-11 04:50:05

alexx
Member
Registered: 2015-11-14
Posts: 49

Re: configure: error: C compiler cannot create executables

smile not me, im just like girl smile) his so happy smile

(yes, this is good programm, but have so stupid crack, i search new version, but his old and crach too

tazpkg get-install libxml2-dev

./configure && make && make install

>>

[attachment=40630,2161]

Offline

#12 2015-12-11 10:15:55

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: configure: error: C compiler cannot create executables

Hint: http://pkgs.slitaz.org/?file=/lame/lame.h

Offline

#13 2015-12-11 12:29:06

llev
Member
Registered: 2011-12-09
Posts: 568

Re: configure: error: C compiler cannot create executables

@alexx: again,

FYI, the build dependencies of the older version are: gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev flac-dev lame-dev libsamplerate-dev libmad-dev libsndfile-dev libxml2-dev bzip2-dev, so if I were you I'd start installing all of these before trying to compile.

Offline

#14 2015-12-11 16:06:06

alexx
Member
Registered: 2015-11-14
Posts: 49

Re: configure: error: C compiler cannot create executables

i find today why install array depends, and lost

%like%

for var in [array]

do

tazpkg get-install $var

done

right, i try

tazpkg get-install [array]

and this is install only first element

now i hawe trouble

####

Making install in decoder

make[2]: Entering directory `/home/user1/Downloads/aqualung-1.0/src/decoder'

make[3]: Entering directory `/home/user1/Downloads/aqualung-1.0/src/decoder'

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

make[3]: Leaving directory `/home/user1/Downloads/aqualung-1.0/src/decoder'

make[2]: Leaving directory `/home/user1/Downloads/aqualung-1.0/src/decoder'

Making install in encoder

make[2]: Entering directory `/home/user1/Downloads/aqualung-1.0/src/encoder'

make[3]: Entering directory `/home/user1/Downloads/aqualung-1.0/src/encoder'

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

make[3]: Leaving directory `/home/user1/Downloads/aqualung-1.0/src/encoder'

make[2]: Leaving directory `/home/user1/Downloads/aqualung-1.0/src/encoder'

Making install in img

make[2]: Entering directory `/home/user1/Downloads/aqualung-1.0/src/img'

make[3]: Entering directory `/home/user1/Downloads/aqualung-1.0/src/img'

make[3]: Nothing to be done for `install-exec-am'.

../.././install-sh -c -d '/usr/local/share/aqualung'

/usr/bin/install -c -m 644 appearance.png cdda.png cddb.png drag.png dsp.png general.png icon_16.png icon_24.png icon_32.png icon_48.png icon_64.png inet.png logo.png metadata.png ms-artist.png ms-cdda-disk.png ms-cdda-nodisk.png ms-cdda.png ms-feed.png ms-podcast.png ms-record.png ms-store.png ms-track.png music_store.png playlist.png rva.png tab-close.png '/usr/local/share/aqualung'

make[3]: Leaving directory `/home/user1/Downloads/aqualung-1.0/src/img'

make[2]: Leaving directory `/home/user1/Downloads/aqualung-1.0/src/img'

make[2]: Entering directory `/home/user1/Downloads/aqualung-1.0/src'

make[3]: Entering directory `/home/user1/Downloads/aqualung-1.0/src'

.././install-sh -c -d '/usr/local/bin'

  /usr/bin/install -c aqualung '/usr/local/bin'

make[3]: Nothing to be done for `install-data-am'.

make[3]: Leaving directory `/home/user1/Downloads/aqualung-1.0/src'

make[2]: Leaving directory `/home/user1/Downloads/aqualung-1.0/src'

make[1]: Leaving directory `/home/user1/Downloads/aqualung-1.0/src'

root@hostnd:/home/user1/Downloads/aqualung-1.0# aqualung

Gdk-ERROR **: g_thread_init() must be called before gdk_threads_init()

Trace/breakpoint trap

root@localhost:/home/user1/Downloads/aqualung-1.0#

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]