LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-02-2003, 02:45 AM   #1
Jadewolf
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Rep: Reputation: 0
Compiling Error "make: *** [all-recursive-am] Error 2"


Hi, hoping someone can help me.
I'm getting this error, or ones very similar (meaning recursive problems) whenever I try to compile a program from source.

I thought previously it might have been the individual piece of software, so I deleted it, but it's doing it again when trying to compile LinNeighborhood.

The error is as follows:
browsewrap.c: In function `browse_path_done':
browsewrap.c:955: `group_name' undeclared (first use in this function)
browsewrap.c:955: `machine_name' undeclared (first use in this function)
browsewrap.c:955: `share_name' undeclared (first use in this function)
browsewrap.c:955: `path_name' undeclared (first use in this function)
browsewrap.c:955: `files' undeclared (first use in this function)
make[2]: *** [browsewrap.o] Error 1
make[2]: Leaving directory `/home/jadewolf/LinNeighborhood-0.6.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jadewolf/LinNeighborhood-0.6.5'
make: *** [all-recursive-am] Error 2

I am currently running Redhat 9 - gnome desktop.
If anyone knows where I should look to find a solution for this problem, please let me know, as I'm fairly new to linux.

If any other info is needed, please let me know and I'll reply asap.
 
Old 10-02-2003, 03:32 AM   #2
saint
Member
 
Registered: Sep 2001
Location: India
Distribution: Red Hat 9
Posts: 55

Rep: Reputation: 15
Lightbulb Re: Compiling Error "make: *** [all-recursive-am] Error 2

First make sure that the package you are compiling is not a beta, testing or RC release but a stable release. After that use the configure script to to create the make files. the configure script takes ceratin options telling it where your include and lib files are. So you configure by ./configure <options>

Since you are on RedHat 9, the options you have to pass are

'--prefix=/usr' '--exec-prefix=/usr' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info'

After you have run configure you run make and that will compile your software correctly. Hope that helps
 
Old 10-02-2003, 03:38 AM   #3
Jadewolf
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
I've run ./configure already, and it creates the makefiles not a problem, no errors there. it's only on the make that things are going wrong and it's in a number of different sources
 
Old 10-02-2003, 03:41 AM   #4
saint
Member
 
Registered: Sep 2001
Location: India
Distribution: Red Hat 9
Posts: 55

Rep: Reputation: 15
What is the software you are compiling and what does it do? If you can find the RPMs for it, that would be better than compiling from source.
 
Old 10-02-2003, 03:53 AM   #5
saint
Member
 
Registered: Sep 2001
Location: India
Distribution: Red Hat 9
Posts: 55

Rep: Reputation: 15
If you want to browse your network neighbourhood an you have nautilus installed, you can do it by typing "smb://" in the address bar of nautilus
 
Old 10-02-2003, 04:06 AM   #6
Jadewolf
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
its ok, found the problem. The error was higher up in the make output... Glib devel wasn't installed :/

Anyway, now I gotta try and find a binary package for glib/glib-devel
 
  


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
Compiling error during "Make" Maxwell Rain Mandriva 3 07-21-2004 07:02 AM
Compiling the kernel: error with "make mrproper" dominik81 Linux - Newbie 1 06-10-2004 03:06 PM
help with "make" error "Missing seperator" hrishikesh Linux - Software 1 07-18-2003 02:40 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 04:31 PM
I need Help. compiling error "make symlinks dep" SPMcRuube Linux - Newbie 0 12-02-2002 02:54 PM


All times are GMT -5. The time now is 05:22 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