LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-16-2010, 05:51 PM   #1
mdynac
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware-14
Posts: 46

Rep: Reputation: 16
upgraded current now i cannot build Slackbuilds


hello all,

this is what i get when i try to compile ndiswrapper:

checking for a BSD-compatible install... /bin/ginstall -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 whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/SBo/mpc-0.8.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.






any help would be appreciated
thx mdynac
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-16-2010, 06:01 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,574

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
What is in config.log?
 
Old 10-16-2010, 06:03 PM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
1. Make sure you have "gcc" and test-build a "hello world" to make sure it works.

2. Make sure your /tmp directory is world-writable
 
Old 10-16-2010, 06:16 PM   #4
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
.. If you are compiling ndiswrapper... why is it going into /tmp/SBo/mpc-0.8.2 ???

additionally ndiswrapper doesn't have a configure file, you just run "make" as the Makefile is already distributed with the source.


either way... whenever I have gotten that error, it is usually because of x86_64 and x86 cross contamination with a previous or current multi-lib setup. What customizations have you done to your system and are you in fact running 32bit current?

Last edited by lumak; 10-16-2010 at 06:18 PM.
 
Old 10-16-2010, 06:52 PM   #5
mdynac
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware-14
Posts: 46

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by lumak View Post
.. If you are compiling ndiswrapper... why is it going into /tmp/SBo/mpc-0.8.2 ???

additionally ndiswrapper doesn't have a configure file, you just run "make" as the Makefile is already distributed with the source.


either way... whenever I have gotten that error, it is usually because of x86_64 and x86 cross contamination with a previous or current multi-lib setup. What customizations have you done to your system and are you in fact running 32bit current?


sorry i was trying to build libmpc


ndiswrapper failed with saying gcc could not build an executable.

Slackbuilds worked fine until i updated -current the other day

running two 32bit machines here

lenovo S10 netbook
IBM netvista desktop

both running freshly updated -current and neither will run a slackbuild
 
Old 10-16-2010, 10:22 PM   #6
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
To repeat:

1. Make sure you have "gcc" and test-build a "hello world" to make sure it works.

2. Make sure your /tmp directory is world-writable

... and ...

3. Double check your config.log
 
Old 10-17-2010, 04:42 AM   #7
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 128

Rep: Reputation: 31
Similar problem after today's current gcc_multilib update.
Can't build anything, hello world included.
Yes, double checked /tmp rights
 
Old 10-17-2010, 04:52 AM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,969

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

You need to install libmpc.
I have the same problem with Slackware64. Running ./configure to install a program from source gave:
Quote:
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
Trying to compile a simple c program revealed this:
Quote:
/usr/libexec/gcc/x86_64-slackware-linux/4.5.1/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
and installing the above mentioned library solved it.

Regards
 
2 members found this post helpful.
Old 10-17-2010, 04:55 AM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,495

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
it’s a library added to current on august 28, you can find it here

http://slackware.osuosl.org/slackwar...2-x86_64-1.txz

but probably you need to do also a

slackpkg install-new

to install other stuff added to current from the date you updated to it.
 
2 members found this post helpful.
Old 10-17-2010, 05:01 AM   #10
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 128

Rep: Reputation: 31
Thx guys. I suppose I need to rewrite "Read the Changelog when toying with current" 100 times.
 
Old 10-17-2010, 10:49 AM   #11
mdynac
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware-14
Posts: 46

Original Poster
Rep: Reputation: 16
thanks all

running a "slackpkg install-new" fixed it right up on both my machines.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
building kdebluetooth from Slackbuilds on Slackware64-current gtludwig Slackware 5 06-27-2009 06:59 PM
Current and SlackBuilds SqdnGuns Slackware 8 05-18-2009 05:55 AM
all dosbox slackbuilds fail on -current Daedra Slackware 5 03-20-2009 02:59 AM
libsndfile from Slackbuilds.org fails to build... Lufbery Slackware 10 01-09-2009 09:41 AM
Are there any SlackBuilds for Firefox 1.5 (build from source) spinner_0 Slackware 7 01-18-2006 05:48 AM


All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration