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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-02-2003, 02:45 AM
|
#1
|
LQ Newbie
Registered: Sep 2003
Posts: 13
Rep:
|
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.
|
|
|
10-02-2003, 03:32 AM
|
#2
|
Member
Registered: Sep 2001
Location: India
Distribution: Red Hat 9
Posts: 55
Rep:
|
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
|
|
|
10-02-2003, 03:38 AM
|
#3
|
LQ Newbie
Registered: Sep 2003
Posts: 13
Original Poster
Rep:
|
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
|
|
|
10-02-2003, 03:41 AM
|
#4
|
Member
Registered: Sep 2001
Location: India
Distribution: Red Hat 9
Posts: 55
Rep:
|
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.
|
|
|
10-02-2003, 03:53 AM
|
#5
|
Member
Registered: Sep 2001
Location: India
Distribution: Red Hat 9
Posts: 55
Rep:
|
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
|
|
|
10-02-2003, 04:06 AM
|
#6
|
LQ Newbie
Registered: Sep 2003
Posts: 13
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|