This is a discussion on Slackbuild: "C compiler cannot create executables"? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi! I'm trying to use this slackbuild for slackware 12 http://www.slacky.eu/repository/slac...tor.SlackBuild on a slackware 11 (is it ok?). During ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi! I'm trying to use this slackbuild for slackware 12 http://www.slacky.eu/repository/slac...tor.SlackBuild on a slackware 11 (is it ok?). During the script execution this messages come up: > <cut> > checking host system type... i486-slackware-linux-gnu > checking for gcc... gcc > checking for C compiler default output file name... > > ************************************************** **** > configure: error: C compiler cannot create executables > ************************************************** **** > > See `config.log' for more details. > make: *** No targets specified and no makefile found. Stop. > make: *** No rule to make target `install'. Stop. > find: /tmp/tgz/package/usr/man: No such file or directory > mv: cannot stat `/tmp/tgz/package/etc/tor/tor-tsocks.conf': No such file or directory > cp: cannot stat `/tmp/tgz/package/etc/tor/torrc.sample': No such file or directory > ./tor.SlackBuild: line 70: requiredbuilder: command not found > > Slackware package maker, version 2.1. > </cut> What's the problem? You can see the whole "config.log" here: http://tinyurl.com/2p492k THX! |
| |||
| On 2007-09-25, nbukf <hg875@hje8n.kl> wrote: > Hi! > I'm trying to use this slackbuild for slackware 12 > http://www.slacky.eu/repository/slac...tor.SlackBuild > on a slackware 11 (is it ok?). > During the script execution this messages come up: > >> <cut> >> checking host system type... i486-slackware-linux-gnu >> checking for gcc... gcc >> checking for C compiler default output file name... >> >> ************************************************** **** >> configure: error: C compiler cannot create executables >> ************************************************** **** >> >> See `config.log' for more details. >> make: *** No targets specified and no makefile found. Stop. >> make: *** No rule to make target `install'. Stop. >> find: /tmp/tgz/package/usr/man: No such file or directory >> mv: cannot stat `/tmp/tgz/package/etc/tor/tor-tsocks.conf': No > such file or directory >> cp: cannot stat `/tmp/tgz/package/etc/tor/torrc.sample': No such > file or directory >> ./tor.SlackBuild: line 70: requiredbuilder: command not found >> >> Slackware package maker, version 2.1. >> </cut> > > What's the problem? > You can see the whole "config.log" here: > http://tinyurl.com/2p492k Did you see the line gcc: installation problem, cannot exec `as': No such file or directory It pretty much says it all. You should have /usr/bin/as installed, but it says it can't execute that file (or that file is missing). On Slack 12 the required package is binutils-2.17.50.0.17-i486-1, you should look for the right package for Slack 11.0 and install it. I don't know if the Slack 12.0 slackbuild will work on Slack 11, but you will need "as" anyway. Jim |
| |||
| Jim Diamond wrote: > On Slack 12 the required package is binutils-2.17.50.0.17-i486-1, you > should look for the right package for Slack 11.0 and install it. Thanks Jim! I was also missing glibc and gcc... speaking of newbies. Now, after a few steps forward, I'm stuck again with a series of checking for gettimeofday... no checking for ftime... no checking for socketpair... no checking for uname... no checking for inet_aton... no checking for strptime... no checking for getrlimit... no checking for strlcat... no checking for strlcpy... no checking for strtoull... no checking for ftello... no checking for getaddrinfo... no checking for localtime_r... no checking for gmtime_r... no checking for memmem... no checking for strtok_r... no These are functions in some missing package, right? I've tried googleing, but I can't figure out what package I'm missing. :-( I've also updated the config.log: http://tinyurl.com/2p492k Thanks again. |
| |||
| nbukf wrote : > These are functions in some missing package, right? Packages! Your missing more than just one. > I've tried googleing, but I can't figure out what package I'm > missing. :-( Stop Googeling and search /slackware/MANIFEST.bz2 for the files you are missing. -- Thomas O. This area is designed to become quite warm during normal operation. |
| |||
| On Wed, 26 Sep 2007 16:30:01 +0200, Thomas Overgaard <thover@post2.tele.dk> wrote: > >nbukf wrote : > >> These are functions in some missing package, right? > >Packages! Your missing more than just one. > >> I've tried googleing, but I can't figure out what package I'm >> missing. :-( > >Stop Googeling and search /slackware/MANIFEST.bz2 for the files you are >missing. Didn't know about slackware/MANIFEST.bz2 (never took the the time to look what's inside, I think). Very useful! Allready had PACKAGES.TXT and FILE_LIST on Desktop, now I'vee added MANIFEST too :-) Knowing this could could have solved a similair problem I had just starting Linux a year ago, trying to compile something. = :-)) Thanks! Manuel |
| |||
| Thomas Overgaard wrote: > Stop Googeling and search /slackware/MANIFEST.bz2 for the files you are > missing. I'm having a hard time understanding how to use /slackware/MANIFEST.bz2. For example, "gettimeofday" is only in this line: -rw... ...usr/man/man2/gettimeofday.2.gz >From "man gettimeofday" i know that I should have "sys/time.h". I have "/usr/include/sys/time.h" already. How do I proceed from here? Thanks for your patience! |
| |||
| On Wed, 26 Sep 2007 18:31:03 +0200, nbukf <hg875@hje8n.kl> wrote: >Thomas Overgaard wrote: > >> Stop Googeling and search /slackware/MANIFEST.bz2 for the files you are >> missing. > >I'm having a hard time understanding how to use /slackware/MANIFEST.bz2. > >For example, "gettimeofday" is only in this line: >-rw... ...usr/man/man2/gettimeofday.2.gz And twice in kernel-source-2.6.21.5_smp-noarch-2.tgz : usr/src/linux-2.6.21.5/arch/powerpc/kernel/vdso64/gettimeofday.S usr/src/linux-2.6.21.5/arch/powerpc/kernel/vdso32/gettimeofday.S Open with text editor, search, then search next occurance, untill no more is found. >>From "man gettimeofday" i know that I should have "sys/time.h". >I have "/usr/include/sys/time.h" already. > >How do I proceed from here? > >Thanks for your patience! > |
| |||
| Manuel Otto wrote: > And twice in kernel-source-2.6.21.5_smp-noarch-2.tgz : > > usr/src/linux-2.6.21.5/arch/powerpc/kernel/vdso64/gettimeofday.S > usr/src/linux-2.6.21.5/arch/powerpc/kernel/vdso32/gettimeofday.S Uhmm, I can see that, but I'm running on a slack 11 with a 2.4.33.3 kernel. Does this mean that I cannot use that slackbuild? Thanks |
| |||
| nbukf wrote: > Manuel Otto wrote: > >> And twice in kernel-source-2.6.21.5_smp-noarch-2.tgz : >> >> usr/src/linux-2.6.21.5/arch/powerpc/kernel/vdso64/gettimeofday.S >> usr/src/linux-2.6.21.5/arch/powerpc/kernel/vdso32/gettimeofday.S > > Uhmm, I can see that, but I'm running on a slack 11 with a 2.4.33.3 > kernel. Does this mean that I cannot use that slackbuild? > > Thanks Wait! I've tried the slackbuild for slack11 http://www.slacky.eu/repository/slac...tor.SlackBuild but the errors are the same... Now I'm really scratching my head! |
| ||||
| On 2007-09-26, nbukf <hg875@hje8n.kl> wrote: > Jim Diamond wrote: > >> On Slack 12 the required package is binutils-2.17.50.0.17-i486-1, you >> should look for the right package for Slack 11.0 and install it. > > Thanks Jim! > I was also missing glibc and gcc... speaking of newbies. > Now, after a few steps forward, I'm stuck again with a series of > > checking for gettimeofday... no > checking for ftime... no > checking for socketpair... no > checking for uname... no > checking for inet_aton... no > checking for strptime... no > checking for getrlimit... no > checking for strlcat... no > checking for strlcpy... no > checking for strtoull... no > checking for ftello... no > checking for getaddrinfo... no > checking for localtime_r... no > checking for gmtime_r... no > checking for memmem... no > checking for strtok_r... no > > These are functions in some missing package, right? > I've tried googleing, but I can't figure out what package I'm > missing. :-( > > I've also updated the config.log: > http://tinyurl.com/2p492k > > Thanks again. Well, it says (among other things) you are missing dlopen(). To cut to the chase, why don't you make sure you installed EVERY package in the development ("d") series. Presumably you decided to install only some of the packages when you installed Slackware 11, and this decision is causing you grief. I can only assume you would do that because you are low on disk space. In any case, install all the "d" packages, try again, and report back on how things went. Jim |