LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-02-2008, 10:47 PM   #1
NobleSilkFairy
LQ Newbie
 
Registered: Apr 2005
Posts: 16

Rep: Reputation: 0
Error compiling from source with x86_64


I am running Mandriva 2008.0 x86_64. I recently attempted to install a couple of packages from source and with both packages I get errors when I ./configure. The error is:

"error: C++ compiler cannot create executables"

In config.log I find:

"Error: suffix or operands invalid for `push'"

Now, after doing some searching, it seems to be something to do with being a 64bit OS. Is there a way to make this work? Keep in mind that I may be off track and I am a complete newb trying to learn. Please help me solve this.
 
Old 01-03-2008, 01:17 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,415
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
Have you had any success compiling any other programs on that machine, in 2008.8(x86_64)?
 
Old 01-03-2008, 08:46 AM   #3
NobleSilkFairy
LQ Newbie
 
Registered: Apr 2005
Posts: 16

Original Poster
Rep: Reputation: 0
I haven't compiled anything else that I remember on this installation. I've been able to find rpms for pretty much everything else I need. I just have 2 packages now that I want to install but both seem to come up with this error.
 
Old 01-03-2008, 07:12 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,415
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
Just a guess, maybe the compiler can't make executables because it does not have the correct permissions to write the file to the diectory.

Try running the same thing as root and see if it goes through.

Regards, Glenn

p.s. Do you have gcc-c++ installed?

And I know that for compiling a kernel, for instance, you need QT3-devel.

Last edited by GlennsPref; 01-03-2008 at 07:15 PM.
 
Old 01-03-2008, 09:06 PM   #5
NobleSilkFairy
LQ Newbie
 
Registered: Apr 2005
Posts: 16

Original Poster
Rep: Reputation: 0
I have gcc-c++ installed and I was trying it as root. If you want me to post any other information, I'll try to get it and post it. I just don't know what to look for.
 
Old 01-03-2008, 10:54 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,415
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
What program are you trying to install?

Have you read the readme, install, or other files?

Some directions are given in the make and/or config files, usually.

Glenn.

And I'm not an expert either, but who knows what might happen.
 
  


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
Ubuntu amd64 (x86_64)version 7.04 issues with compiling php from source LDZ420 Linux - Software 5 08-23-2007 08:24 AM
need help compiling from source - libtool error Feeg Linux - Software 0 07-04-2006 11:16 PM
error compiling mplayer from source jimjamjahaa Linux - Software 1 01-23-2006 02:23 AM
strange error while compiling from source Nadim Slackware 2 08-01-2005 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:52 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration