LinuxQuestions.org
Visit Jeremy's Blog.
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 04-11-2010, 01:51 PM   #1
macdudeosx
LQ Newbie
 
Registered: May 2006
Posts: 27

Rep: Reputation: 1
Project Center Make issues


I'm trying to port some of my mac osx applications to Linux using GNUstep Gorm and Project Center.

I have successfully built and run both Gorm and Project Center. I have my entire application written, but when I click build I get:

/common.make: No such file or directory
/aggregate.make No such file or directory
/application.make No such file or directory
make: ***No rule to make target '/application.make'. Stop.
==Build terminated!==

I looked in the make file and figured $(GNUSTEP_MAKEFILES) is not pointing to /usr/share/GNUstep/Makefiles/ where all of the make files are located.

I have run "source '/usr/share/GNUstep/Makefiles/GNUstep.sh'" (yes I use bash) and it still will not set up the environment.

Oh, I am on Ubuntu 9.10 - Kernel 2.6.31-14-generic

Any ideas anyone?
Thanks

Last edited by macdudeosx; 04-11-2010 at 01:54 PM.
 
Old 04-12-2010, 02:27 AM   #2
macdudeosx
LQ Newbie
 
Registered: May 2006
Posts: 27

Original Poster
Rep: Reputation: 1
Ok, here is an update.

I open terminal, I type:

echo $GNUSTEP_MAKEFILES

which brings up nothing.

Then I type:

source /usr/share/GNUstep/Makefiles/GNUstep.sh

echo $GNUSTEP_MAKEFILES
bash: /usr/share/GNUstep/Makefiles: is a directory

But the environment is only good for that session, It does not set GNUSTEP_MAKEFILES to the needed path anywhere outside that particular terminal session. So as soon as I open up a new terminal window, echo $GNUSTEP_MAKEFILES brings up nothing. I need to set the environment system wide so I can use Project center to actually build the application. The Makefile in Project Center needs the environment set up, but I dont know how to do it for the entire system.

EDIT:
I found and edited bash.bashrc and the environment is all set up. But, in my applications makefile, lines like include $(GNUSTEP_MAKEFILES)/application.make still come up 'not found'. Make is either not parsing the environment variables or is not receiving them.
Any thoughts anyone?

Last edited by macdudeosx; 04-12-2010 at 12:00 PM.
 
Old 04-13-2010, 11:28 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,325

Rep: Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583
You may find some hints in this thread

http://www.linuxquestions.org/questi...6_64-a-800961/

I used /usr/bin/gnustep-config ( post # 11 )
and the OP has a suggestion in post # 10 .
 
Old 04-13-2010, 03:56 PM   #4
macdudeosx
LQ Newbie
 
Registered: May 2006
Posts: 27

Original Poster
Rep: Reputation: 1
Yeah, I ran
Quote:
gnustep-config --variable=GNUSTEP_MAKEFILES
and got
Quote:
/usr/share/GNUstep/Makefiles
which is exactly what it supposed to be.

But when I build in Terminal or in Project Center GNUSTEP_MAKEFILES does not point to that directory. So the lines in the applications Makefile
Quote:
include $(GNUSTEP_MAKEFILES)/common.make
include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/application.make
do not work (they point to the wrong directory) and the build fails.

Everywhere else GNUSTEP_MAKEFILES points to the directory correctly except when building, even with
Quote:
make -e
 
  


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
LXer: Weekend Project: Get Your Open Source Media Center Groove On LXer Syndicated Linux News 0 11-15-2008 04:10 AM
mythtv / media-center project; recommendations? mr_git Linux - Hardware 0 01-31-2007 08:20 PM
LXer: Centerstage Mac Media Center Project Looking for Developers LXer Syndicated Linux News 0 09-26-2006 02:54 AM
MySQL Control Center make problem marvc Linux - Software 0 04-11-2003 10:51 PM
Mandrake Control Center Issues?? chromelocust Linux - Software 5 04-02-2003 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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