LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-15-2005, 10:24 PM   #1
J--Lew
LQ Newbie
 
Registered: Aug 2005
Location: Calgary, Canada
Posts: 29

Rep: Reputation: 15
Thumbs down First Post! Unable to compile source code


Hey guys, this is my first post here and I was hoping somebody could help me out. Ive been toying with Linux for about a month now (Suse 9.3), but the main drawback is that Im not able to compile ANY source code Ive come across.

Ive gotten far enough to install all of the KDE Headers, GCC, Qt, and everything, but after configure finishes and I run make, I get this error when trying to install Taskbar v2:

make[1]: Entering directory `/home/jlewis/mtaskbar-0.7/mtaskbar'
Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/home/jlewis/mtaskbar-0.7/mtaskbar'
make: *** [configure] Error 2

according to apt-get, I have the newest versions of automake, autoconf, and perl.
any ideas? Im looking to make Linux my default OS when I get my laptop, but I need to be able to compile stuff before I do that. Im really still a newb when it comes to linux.

Thanks guys!

JLEW
 
Old 08-16-2005, 02:18 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,415

Rep: Reputation: 99
1.how did you install gcc if you didnt have a compiler? Did you take binaries of gcc?

The error message you get refers to a wrong or incomplete perl module on your box that belongs to autoconf. Unfortunately i cant say more right now...
 
Old 08-16-2005, 08:51 AM   #3
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 668
Blog Entries: 7

Rep: Reputation: 31
are you sure the configure command terminated successfully
 
Old 08-16-2005, 01:45 PM   #4
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Rep: Reputation: 30
I could be barking up the wrong tree here, but the error message seems to be suggesting that it can't find the "path" object in the source code library. When you look in the directory of mtaskbar is it a program that needs to be compiled first or is it something that can just be run? See if you can find an INSTALL or README within the directory and make sure you follow those directions, if you haven't already done so.

The description you offer doesn't seem to suggest a wide-spread compiler problem, so it is likely to be one of two things, as far as I can tell:

1. The "make" program is looking for something along its installation path and can't find it. If this is where it is to be located then you'd need to specify where it is to be installed. The general form is:
./configure --prefix=/path/in_which/to_install
If it needs some other libraries with which to install, and it can't find those, then see if you have a file called "Request" anywhere (it could be a dependency which hasn't been loaded yet?). Then direct your path variable to that:
export PATH=$PATH:/usr/sbin/:/usr/local/bin (or wherever that file might be)

2. The software itself is corrupted, in which case, contact a developer and ask them what might cause this error message. In my experience, all but one developer I've contacted regarding installation difficulties have been pretty helpful in debugging the process with me.

What other error messages do you get when you try to compile from source?
 
Old 08-16-2005, 02:10 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
make sure there is not a file autom4te.cache in the source directory
if there is delete it
 
Old 08-16-2005, 03:17 PM   #6
J--Lew
LQ Newbie
 
Registered: Aug 2005
Location: Calgary, Canada
Posts: 29

Original Poster
Rep: Reputation: 15
Hey guys thanks alot for all the helpful replies!

I first tried Foo_Bar_Foo's advice (mainly because it was the simplest reply I understood lol), and everything worked out, I just deleted the autom4te.cache directory and everything went smooth.

Like I said, Im really fairly new to Linux, and hope to become fairly fluent in it soon, so thanks again guys Im sure Ill be making quite a few more posts around here!

JLEW
 
  


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
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 07:49 PM
how i compile a source code? nazib Linux - General 5 02-27-2005 09:13 AM
how to compile redhat 9.0 source code. wood Linux - General 5 09-16-2003 10:05 AM
Can't compile source code in Slackware 9.0 kernel 2.4.20) GrandTheft Slackware 2 04-29-2003 10:52 AM
How to compile source code... Grim Reaper Linux - Newbie 3 04-26-2002 11:28 AM


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

Main Menu
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