Re: Pleas help me about porting applications from Openstep to GNUstep.

Adam Fedor <[email protected]> Sat, 22 Nov 2008 09:22:32 -0700
Newsgroups gmane.comp.lib.gnustep.applications,gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
--===============1906851800==
Content-Type: multipart/alternative; boundary=Apple-Mail-3--44350180


--Apple-Mail-3--44350180
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

You need to name the file GNUmakefile, not Makefile


On Nov 21, 2008, at 11:08 PM, Ryan Hwang wrote:

> Thanks so much for your immediate reply,Adam~!
>
> But I'm still having problems..
>
> I modified the Makfiles like yours.After "make" it, displayed:
> -----------------------------------------------------------------------------------------------------------------------------------------------------
> $ make
> This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for  
> help.
> Making all for app modeleNpop...
> make[1]:GNUmakefile:No such file or directory
> make[1]:*** No rule to make target 'GNUmakefile'. Stop.
> make: *** [modeleNpop.all.app.variables] Error 2
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> The application and source codes are available at:
> https://senselab.med.yale.edu/ModelDB/ShowModel.asp?model=97983&file= 
> \wendlingEtAl2005\readme.html
>
> and I installed gnustep-system-0.20.3 and gnustep-core-0.20.3 for  
> Windows which are available at:
>  http://gnustep.org/experience/Windows.html
> I wonder if there are any other files needed in my GNUstep.
> I'm so sorry for bothering you again.
> I can't find any references or books aobut Openstep or GNUstep in  
> the library here,nor can I turn to anyone else for help.It's really  
> confusing me.
>
> Appreciating your great kindness!
>
> Sincerely Yours,
> Ryan Hwang
>
>
>
> 2008/11/22 Adam Fedor <[email protected]>
> You can't use the old Makefiles, you need new ones.
>
> There a few tools that might work:
> The released, but very old OpenStep2GNUConverter:
> ftp://ftp.gnustep.org/pub/gnustep/contrib/Openstep2GNUConverter-20000717.tar.gz
> The unreleased pbxbuild:
> http://svn.gna.org/viewcvs/gnustep/tools/pbxbuild/trunk/
>
> Although your project is pretty simple.  I bet a Makefile like this  
> would work:
>
> NAME = modeleNpop
> PROJECTVERSION = 2.6
> PROJECT_TYPE = Application
> LANGUAGE = English
> NEXTSTEP_APPICON = modeleNcol.tiff
> ICONSECTIONS = -sectcreate __ICON app modeleNcol.tiff
> LOCAL_RESOURCES = modeleNpop.nib population.nib
> CLASSES = popManager.m population.m
> HFILES = fonctionsC.h popManager.h population.h
> MFILES = modeleNpop_main.m
> CFILES = fonctionsC.c
> OTHERSRCS = Makefile.preamble Makefile Makefile.postamble
>
> include $(GNUSTEP_MAKEFILES)/common.make
>
> APP_NAME=$(NAME)
> $(NAME)_HEADER_FILES=$(HFILES)
> $(NAME)_OBJC_FILES=$(MFILES) $(CLASSES)
> $(NAME)_C_FILES=$(CFILES)
> $(NAME)_RESOURCE_FILES=$(LOCAL_RESOURCES)
>
> -include Makefile.preamble
> include $(GNUSTEP_MAKEFILES)/application.make
> -include Makefile.postamble
>
>
> On Nov 21, 2008, at 9:16 AM, Ryan Hwang wrote:
>
>> To anyone who can help me:
>>
>> Hello~
>>
>> Recently I'v got an application for my research(about EEG signal  
>> processing),but it was developped in Openstep Enterprise (OSE) for  
>> Windows.
>> I installed GNUstep,but I don't know how to port the app to GNUstep  
>> since I've never learned about UNIX/Linux/GNU stuff like that before.
>>
>> There are source codes and the author says: This source code can be  
>> imported in Linux GNUSTEP with MINOR modifications as GNUSTEP is  
>> compliant with Openstep specifications.
>>
>> I wonder what to modify and how to.
>>
>> Here is the Makefile in the Source Code:
>>
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> =====================================================================
>> #
>> # Generated by the NeXT Project Builder.
>> #
>> # NOTE: Do NOT change this file -- Project Builder maintains it.
>> #
>> # Put all of your customizations in files called Makefile.preamble
>> # and Makefile.postamble (both optional), and Makefile will include  
>> them.
>> #
>> NAME = modeleNpop
>> PROJECTVERSION = 2.6
>> PROJECT_TYPE = Application
>> LANGUAGE = English
>> NEXTSTEP_APPICON = modeleNcol.tiff
>> ICONSECTIONS = -sectcreate __ICON app modeleNcol.tiff
>> LOCAL_RESOURCES = modeleNpop.nib population.nib
>> CLASSES = popManager.m population.m
>> HFILES = fonctionsC.h popManager.h population.h
>> MFILES = modeleNpop_main.m
>> CFILES = fonctionsC.c
>> OTHERSRCS = Makefile.preamble Makefile Makefile.postamble
>>
>> MAKEFILEDIR = $(NEXT_ROOT)/NextDeveloper/Makefiles/pb_makefiles
>> CODE_GEN_STYLE = DYNAMIC
>> MAKEFILE = app.make
>> NEXTSTEP_INSTALLDIR = $(HOME)/Apps
>> WINDOWS_INSTALLDIR = $(HOME)/Apps
>> PDO_UNIX_INSTALLDIR = $(HOME)/Apps
>> LIBS =
>> DEBUG_LIBS = $(LIBS)
>> PROF_LIBS = $(LIBS)
>>
>> FRAMEWORKS = -framework AppKit -framework Foundation
>>
>> include $(MAKEFILEDIR)/platform.make
>> -include Makefile.preamble
>> include $(MAKEFILEDIR)/$(MAKEFILE)
>> -include Makefile.postamble
>> -include Makefile.dependencies
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> =====================================================================
>>
>> When I "make" this file in the GNUstep,it displays:
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> Makefile:46:/NextDeveloper/Makefiles/pb_makefiles/platform.make:No  
>> such file or directory
>> Makefile:50:/NextDeveloper/Makefiles/pb_makefiles/app.make:No such  
>> file or directory
>> make:  ***  No rule to make target '/NextDeveloper/Makefiles/ 
>> pb_makefiles/app.make'. Stop.
>> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> It's really an important application for me, and I really need your  
>> help~
>> If other source codes are needed,please let me know.
>> Looking forward to your reply ASAP.
>>
>> I'd be most grateful for your help.
>>
>>
>> Sincerely Yours,
>> Ryan Hwang
>>
>> _______________________________________________
>> apps-gnustep mailing list
>> [email protected]
>> http://lists.gnu.org/mailman/listinfo/apps-gnustep
>
>


--Apple-Mail-3--44350180
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">You need to name the file =
GNUmakefile, not Makefile<div><br></div><div><br><div><div>On Nov 21, =
2008, at 11:08 PM, Ryan Hwang wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>Thanks =
so much&nbsp;for&nbsp;your immediate reply,Adam~!</div> =
<div>&nbsp;</div> <div>But I'm still having problems..</div> =
<div>&nbsp;</div> <div>I modified the Makfiles like =
yours.After&nbsp;"make" it, displayed:</div> =
<div>---------------------------------------------------------------------=
--------------------------------------------------------------------------=
------</div> <div><font face=3D"courier new,monospace">$ =
make</font></div> <div><font face=3D"courier new,monospace">This is =
gnustep-make <a href=3D"http://2.0.6.">2.0.6.</a> Type 'make =
print-gnustep-make-help' for help.</font></div> <div><font face=3D"courier=
 new,monospace">Making all for app modeleNpop...</font></div> <div><font =
face=3D"courier new,monospace">make[1]:GNUmakefile:No such file or =
directory</font></div> <div><font face=3D"courier =
new,monospace">make[1]:*** No rule to make target 'GNUmakefile'. =
Stop.</font></div> <div><font face=3D"courier new,monospace">make: *** =
[modeleNpop.all.app.variables] Error 2</font></div> =
<div>---------------------------------------------------------------------=
--------------------------------------------------------------------------=
-------<br></div> <div>The application and source codes are available =
at:</div> <div><a =
href=3D"https://senselab.med.yale.edu/ModelDB/ShowModel.asp?model=3D97983&=
amp;file=3D\wendlingEtAl2005\readme.html">https://senselab.med.yale.edu/Mo=
delDB/ShowModel.asp?model=3D97983&amp;file=3D\wendlingEtAl2005\readme.html=
</a></div> <div>&nbsp;</div> <div><font face=3D"tahoma,sans-serif">and I =
installed</font> <font face=3D"arial black,sans-serif"><font =
face=3D"courier new,monospace">gnustep-system-0.20.3 <font =
face=3D"tahoma,sans-serif">and</font> gnustep-core-0.20.3 =
</font></font><font face=3D"tahoma,sans-serif">for Windows which are =
available at:</font></div> <div><font face=3D"tahoma,sans-serif">&nbsp;<a =
href=3D"http://gnustep.org/experience/Windows.html">http://gnustep.org/exp=
erience/Windows.html</a></font></div> <div><font =
face=3D"tahoma,sans-serif">I wonder if there are any other files needed =
in my GNUstep.<br></font></div> <div><font face=3D"tahoma,sans-serif">I'm =
so sorry for bothering you again.</font></div> <div><font =
face=3D"Tahoma">I can't find any references or books aobut Openstep or =
GNUstep in the library here,nor can I turn to anyone else for =
help.</font><font face=3D"Tahoma">It's really confusing me.</font></div> =
<div><font face=3D"Tahoma"></font>&nbsp;</div> <div><font =
face=3D"Tahoma"><span class=3D"mut_lvs">Appreciating your great =
kindness!</span></font></div> <div><font =
face=3D"tahoma,sans-serif"></font>&nbsp;</div> <div><font =
face=3D"tahoma,sans-serif"> <div>Sincerely Yours,</div> =
<div>Ryan&nbsp;Hwang</div> <div>&nbsp;</div> <div>&nbsp;</div> =
<div>&nbsp;</div></font></div> <div class=3D"gmail_quote">2008/11/22 =
Adam Fedor <span dir=3D"ltr">&lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>></span><br=
> <blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: =
0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <div style=3D"WORD-WRAP: =
break-word">You can't use the old Makefiles, you need new ones. =
<div><br></div> <div>There a few tools that might work:</div> <div>The =
released, but very old OpenStep2GNUConverter:</div> <div><span =
style=3D"WHITE-SPACE: pre"></span><a =
href=3D"ftp://ftp.gnustep.org/pub/gnustep/contrib/" =
target=3D"_blank">ftp://ftp.gnustep.org/pub/gnustep/contrib/</a>Openstep2G=
NUConverter-20000717.tar.gz</div> <div>The unreleased pbxbuild:</div> =
<div><span style=3D"WHITE-SPACE: pre"></span><a =
href=3D"http://svn.gna.org/viewcvs/gnustep/tools/pbxbuild/trunk/" =
target=3D"_blank">http://svn.gna.org/viewcvs/gnustep/tools/pbxbuild/trunk/=
</a></div> <div><br></div> <div>Although your project is pretty simple. =
&nbsp;I bet a Makefile like this would work:</div> <div><br></div> <div> =
<div class=3D"Ih2E3d"> <div>NAME =3D modeleNpop</div> =
<div>PROJECTVERSION =3D 2.6</div> <div>PROJECT_TYPE =3D =
Application</div> <div>LANGUAGE =3D English</div> <div>NEXTSTEP_APPICON =
=3D modeleNcol.tiff</div> <div>ICONSECTIONS =3D -sectcreate __ICON app =
modeleNcol.tiff</div> <div>LOCAL_RESOURCES =3D modeleNpop.nib =
population.nib</div> <div>CLASSES =3D popManager.m population.m</div> =
<div>HFILES =3D fonctionsC.h popManager.h population.h</div> <div>MFILES =
=3D modeleNpop_main.m</div> <div>CFILES =3D fonctionsC.c</div> =
<div>OTHERSRCS =3D Makefile.preamble Makefile Makefile.postamble</div> =
<div><br></div></div> <div>include =
$(GNUSTEP_MAKEFILES)/common.make</div> <div><br></div> =
<div>APP_NAME=3D$(NAME)</div> <div>$(NAME)_HEADER_FILES=3D$(HFILES)</div> =
<div>$(NAME)_OBJC_FILES=3D$(MFILES) $(CLASSES)</div> =
<div>$(NAME)_C_FILES=3D$(CFILES)</div> =
<div>$(NAME)_RESOURCE_FILES=3D$(LOCAL_RESOURCES)</div> <div><br></div> =
<div>-include Makefile.preamble</div> <div>include =
$(GNUSTEP_MAKEFILES)/application.make</div> <div>-include =
Makefile.postamble</div> <div><br></div></div> <div>&nbsp;&nbsp;</div> =
<div> <div> <div> <div></div> <div class=3D"Wj3C7c"> <div>On Nov 21, =
2008, at 9:16 AM, Ryan Hwang wrote:</div><br></div></div> <blockquote =
type=3D"cite"> <div> <div></div> <div class=3D"Wj3C7c"> <div><font =
face=3D"comic sans ms,sans-serif">To anyone who can&nbsp;help =
me:</font></div> <div><font face=3D"Comic Sans MS"></font>&nbsp;</div> =
<div>Hello~</div> <div>&nbsp;</div> <div>Recently I'v got an =
application&nbsp;for my research(about EEG signal processing),but it was =
developped in Openstep Enterprise (OSE) for Windows.</div> <div>I =
installed GNUstep,but I don't know how to port the app to GNUstep since =
I've never learned about UNIX/Linux/GNU stuff like that before.</div> =
<div>&nbsp;</div> <div>There are source codes and the author says: This =
source code can be imported in Linux GNUSTEP with MINOR modifications as =
GNUSTEP is compliant with Openstep specifications.</div> =
<div>&nbsp;</div> <div>I wonder what to modify and how to.</div> =
<div>&nbsp;</div> <div>Here is the Makefile in the Source Code:</div> =
<div>&nbsp;</div> =
<div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D</div> <div><font face=3D"courier new,monospace">#<br># Generated =
by the NeXT Project Builder.<br>#<br># NOTE: Do NOT change this file -- =
Project Builder maintains it.<br>#<br># Put all of your customizations =
in files called Makefile.preamble<br> # and Makefile.postamble (both =
optional), and Makefile will include them.<br>#</font></div> <div><font =
face=3D"courier new,monospace">NAME =3D modeleNpop</font></div> =
<div><font face=3D"courier new,monospace">PROJECTVERSION =3D =
2.6<br>PROJECT_TYPE =3D Application<br>LANGUAGE =3D English</font></div> =
<div><font face=3D"courier new,monospace">NEXTSTEP_APPICON =3D =
modeleNcol.tiff<br>ICONSECTIONS =3D&nbsp;-sectcreate __ICON app =
modeleNcol.tiff</font></div> <div><font face=3D"courier =
new,monospace">LOCAL_RESOURCES =3D modeleNpop.nib =
population.nib</font></div> <div><font face=3D"courier =
new,monospace">CLASSES =3D popManager.m population.m</font></div> =
<div><font face=3D"courier new,monospace">HFILES =3D fonctionsC.h =
popManager.h population.h</font></div> <div><font face=3D"courier =
new,monospace">MFILES =3D modeleNpop_main.m</font></div> <div><font =
face=3D"courier new,monospace">CFILES =3D fonctionsC.c</font></div> =
<div><font face=3D"courier new,monospace">OTHERSRCS =3D =
Makefile.preamble Makefile Makefile.postamble</font></div> =
<div><br><font face=3D"courier new,monospace">MAKEFILEDIR =3D =
$(NEXT_ROOT)/NextDeveloper/Makefiles/pb_makefiles<br>CODE_GEN_STYLE =3D =
DYNAMIC<br>MAKEFILE =3D app.make<br>NEXTSTEP_INSTALLDIR =3D =
$(HOME)/Apps<br>WINDOWS_INSTALLDIR =3D $(HOME)/Apps<br> =
PDO_UNIX_INSTALLDIR =3D $(HOME)/Apps<br>LIBS =3D <br>DEBUG_LIBS =3D =
$(LIBS)<br>PROF_LIBS =3D $(LIBS)</font></div> <div><br><font =
face=3D"courier new,monospace">FRAMEWORKS =3D -framework AppKit =
-framework Foundation</font></div> <div><br><font face=3D"courier =
new,monospace">include $(MAKEFILEDIR)/platform.make</font></div> =
<div><font face=3D"courier new,monospace">-include =
Makefile.preamble</font></div> <div><font face=3D"courier =
new,monospace">include $(MAKEFILEDIR)/$(MAKEFILE)</font></div> =
<div><font face=3D"courier new,monospace">-include =
Makefile.postamble</font></div> <div><font face=3D"garamond,serif"><font =
face=3D"courier new,monospace">-include =
Makefile.dependencies</font><br></font>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div> <div>&nbsp;</div> =
<div>When I "make" this file in the GNUstep,it displays:</div> =
<div>---------------------------------------------------------------------=
--------------------------------------------------------------------------=
-------------------------------------</div> <div><font face=3D"courier =
new,monospace">Makefile:46:/NextDeveloper/Makefiles/pb_makefiles/platform.=
make:No such file or directory</font></div> <div> <div><font =
face=3D"courier =
new,monospace">Makefile:50:/NextDeveloper/Makefiles/pb_makefiles/app.make:=
No such file or directory</font></div> <div><font face=3D"courier =
new,monospace">make:&nbsp; ***&nbsp; No rule to make target =
'/NextDeveloper/Makefiles/pb_makefiles/app.make'. Stop.</font></div> =
<div>---------------------------------------------------------------------=
--------------------------------------------------------------------------=
--------------------------------------</div> <div>&nbsp;</div> <div>It's =
really an important application for me, and I really need your =
help~</div> <div>If other source codes are needed,please let me =
know.</div> <div>Looking forward to your reply ASAP.</div> =
<div>&nbsp;</div> <div>I'd be most grateful for your help.</div> =
<div>&nbsp;</div> <div>&nbsp;</div> <div>Sincerely Yours,</div> =
<div>Ryan&nbsp;Hwang</div> =
<div>&nbsp;</div></div></div></div>_______________________________________=
________<br>apps-gnustep mailing list<br><a =
href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a><br><a =
href=3D"http://lists.gnu.org/mailman/listinfo/apps-gnustep" =
target=3D"_blank">http://lists.gnu.org/mailman/listinfo/apps-gnustep</a><b=
r> =
</blockquote></div><br></div></div></blockquote></div><br></blockquote></d=
iv><br></div></body></html>=

--Apple-Mail-3--44350180--



--===============1906851800==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
apps-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/apps-gnustep

--===============1906851800==--