discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: FW: FW: FW: installation problem


From: pradip patel
Subject: RE: FW: FW: FW: installation problem
Date: Wed, 14 Jun 2006 13:43:53 +0530

HI all
Plz. some one help me

i compiled and run file wth GNUstep-base package

Now i want to compile and run file with GNUstep-gui package

i compiled it successfully
but how can i run it

what it  " openapp "   and where it is?

pradip

On Wed, 2006-06-14 at 01:11, Vaisburd, Haim wrote:
> > gcc -c -Wno-import -I . main.m
> 
> A-ha, here is the problem.
> You do not normally compile GNUstep program like this,
> instead, you write a makefile. Moreover, this makefile
> should be written in a special language, although
> much improved compared with usual make. The make file
> should be calles GNUmakefile
> 
> See http://www.gnustep.it/nicola/Tutorials/WritingMakefiles
> 
> In your case GNUmakefile will look like
> 
> include $(GNUSTEP_MAKEFILES)/common.make
> TOOL_NAME=Pradip
> Pradip_OBJC_FILES = main.m
> include $(GNUSTEP_MAKEFILES)/tool.make
> 
> 
> After that the make command should build your program.
> 
> In your main.m it's enough to say
> #import <Foundation/Foundation.h>
> 
> --Tima
> 
> -----Original Message-----
> From: pradip patel [mailto:address@hidden 
> Sent: Monday, June 12, 2006 10:20 PM
> To: address@hidden; Vaisburd, Haim
> Subject: Re: FW: FW: FW: installation problem
> 
> HI
> 
> i have also 
> GNUstepBase/GSObjcRuntime.h
> under directory GNUstepBase under System/Library/Headers ..
> 
> also i have following directory under
> /usr/GNUstep/System/Library/Headers
> 
> 
> Foundation    //this all 
> gnustep               //include all 
> GNUstepBase   //header files
> 
> also one file
> GSConfig.h
> 
> do i have to setup any path ?
> 
> i compile my program using following command
> 
> gcc -c -Wno-import -I . main.m
> 
> also ,i attach my file with mail ..
> plz..see this and give me solution.
> 
> pradip
> 
> 
> > Hi, sorry for a delay.
> > 
> > I have no idea why do you get these messages, apparently
> > you do not have  GNUstepBase/GSObjCRuntime.h
> > (I have the directory GNUstepBase under System/Library/Headers)
> > or your compiler does not see them
> > 
> > Try to ask the list.
> > 
> > Tima.
> > 
> > -----Original Message-----
> > From: pradip patel [mailto:address@hidden 
> > Sent: Friday, June 09, 2006 1:30 AM
> > To: Vaisburd, Haim; address@hidden
> > Subject: RE: FW: FW: installation problem
> > 
> > 
> > Hye
> > 
> > I do as per following instruction.Installation completed successfully.
> > 
> > But even though I get following error..
> > 
> > In file included from
> > /usr/GNUstep/System/Library/Headers/Foundation/Foundation.h:29,
> >                  from main.m:1:
> > Foundation/NSObjCRuntime.h:32:39: GNUstepBase/GSObjCRuntime.h: No such
> > file or directory In file included from
> > /usr/GNUstep/System/Library/Headers/Foundation/Foundation.h:29,
> >                  from main.m:1:
> > Foundation/NSObjCRuntime.h:34: syntax error before "NSString"
> > Foundation/NSObjCRuntime.h:34: syntax error before "aSelector"
> > Foundation/NSObjCRuntime.h:34: warning: data definition has no type or
> > storage class
> > Foundation/NSObjCRuntime.h:35: syntax error before "SEL"
> > Foundation/NSObjCRuntime.h:35: syntax error before '*' token
> > Foundation/NSObjCRuntime.h:35: warning: data definition has no type or
> > storage class
> > Foundation/NSObjCRuntime.h:36: syntax error before "Class"
> > Foundation/NSObjCRuntime.h:36: syntax error before '*' token
> > Foundation/NSObjCRuntime.h:36: warning: data definition has no type or
> > storage class
> > Foundation/NSObjCRuntime.h:37: syntax error before "NSString"
> > 
> > -->as follows more and more lines
> > 
> > 
> > -----Original Message-----
> > From: Vaisburd, Haim [mailto:address@hidden
> > Sent: Friday, June 09, 2006 1:48 AM
> > To: pradip patel
> > Subject: RE: FW: FW: installation problem
> > 
> > Pradip,
> > 
> > Did you do http://gnustep.made-it.com/BuildGuide/index.html#AEN218
> > i.e. source'd GNUstep.sh before building the foundation?
> > 
> > You need, basically
> > 1. Build and install gnustep-make
> > 2. Modify your login shell script (probably your ~/.bashrc,
> >    but that depend on your environment) and include the line
> >      source /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
> >   in there.
> > 3. Logout and login and make sure it picked up,
> >    you should have various $GNUSTEP_XXX variables defined 4. Continue
> > the installation with gnustep-base
> > 
> > That way next time you login and work on your own programs there
> > variables will be defined.
> > 
> > --Tima
> > 
> > -----Original Message-----
> > From: pradip patel [mailto:address@hidden
> > Sent: Thursday, June 08, 2006 5:54 AM
> > To: Vaisburd, Haim
> > Subject: Re: FW: FW: installation problem
> > 
> > Hi
> > i do following step
> > fisrt for ==> gnustep-make-1.12.0.tar.gz 
> >     gunzip gnustep-make-1.12.0.tar.gz 
> >     tar -xf gnustep-make-1.12.0.tar
> >     ./configure --prefix=/usr/GNUstep
> >     make
> >     make install
> > 
> > ==>gnustep-base-1.12.0.tar.gz 
> >     gunzip gnustep-base-1.12.0.tar.gz 
> >     tar -xf gnustep-base-1.12.0.tar
> >     ./configure --prefix=/usr/GNUstep
> >     make
> >     make install
> > 
> > then i include
> > #import <Foundation/Foundation.h>
> > 
> > it give error like
> > i compile like =>gcc -c -Wno-import -I . main.m
> > 
> > In file included from
> > /usr/GNUstep/System/Library/Headers/Foundation/Foundation.h:29,
> >                  from main.m:1:
> > Foundation/NSObjCRuntime.h:32:39: GNUstepBase/GSObjCRuntime.h: No such
> > file or directory In file included from
> > /usr/GNUstep/System/Library/Headers/Foundation/Foundation.h:29,
> >                  from main.m:1:
> > Foundation/NSObjCRuntime.h:34: syntax error before "NSString"
> > Foundation/NSObjCRuntime.h:34: syntax error before "aSelector"
> > Foundation/NSObjCRuntime.h:34: warning: data definition has no type or
> > storage class
> > Foundation/NSObjCRuntime.h:35: syntax error before "SEL"
> > Foundation/NSObjCRuntime.h:35: syntax error before '*' token
> > Foundation/NSObjCRuntime.h:35: warning: data definition has no type or
> > storage class
> > Foundation/NSObjCRuntime.h:36: syntax error before "Class"
> > Foundation/NSObjCRuntime.h:36: syntax error before '*' token
> > Foundation/NSObjCRuntime.h:36: warning: data definition has no type or
> > storage class
> > Foundation/NSObjCRuntime.h:37: syntax error before "NSString"
> > 
> > -->as follows more and more lines
> > 
> > 
> > Is there i have to configure GNUstep ?
> > pradip
> > > Hi Patel,
> > > 
> > > The tar file should end with tar.gz -
> > > it is tarred and then gzipped. To unpack, you need to gunzip and
> then 
> > > untar.
> > > Usually the tar program has 'z' option for that and you untar with
> > > 
> > > tar zxf gnustep-make-1.12.0.tar.gz
> > > 
> > > However your tar.tar at the end suggests that you downloaded it 
> > > wrongly and your files are possibly not usable. Besides, are you on 
> > > Windows?
> > > 
> > > I usually download the sources from
> > > http://gnustep.org/resources/sources.html
> > > 
> > > 
> > > Tima
> > > 
> > > -----Original Message-----
> > > From: pradip patel [mailto:address@hidden
> > > Sent: Tuesday, June 06, 2006 11:56 PM
> > > To: Vaisburd, Haim
> > > Subject: RE: FW: installation problem
> > > 
> > > hi
> > > 
> > > when i give
> > > tar -xf gnustep-make-1.12.0.tar.tar
> > > 
> > > it give error
> > > 
> > > tar: This does not look like a tar archive
> > > tar: Skipping to next header
> > > tar: Archive contains obsolescent base-64 headers
> > > tar: Error exit delayed from previous errors
> > > 
> > > so plz. if u have package then send me via mail or give me link from
> 
> > > where i can download?
> > > 
> > > i downloaded from following
> > > http://gnustep.made-it.com/BuildGuide/index.html
> > > 
> > > 
> > > pradip
> > > On Wed, 2006-06-07 at 10:51, Vaisburd, Haim wrote:
> > > > > i am not able to run following command
> > > > 
> > > > > ./configure --prefix=/usr/GNUstep
> > > > 
> > > > Out of what package?
> > > > There are four of them: gnustep-make, -base, -gui, -back
> > > > 
> > > > What does it say?
> > > > 
> > > > --Tima
> > > > 
> > > > 
> > > > 
> > > > eInfochips Business Disclaimer:
> > > > This message may contain confidential, proprietary or legally
> > > Privileged information. In case you are not the original intended 
> > > Recipient of the message, you must not, directly or indirectly, use,
> 
> > > Disclose, distribute, print, or copy any part of this message and
> you 
> > > are requested to delete it and inform the sender. Any views
> expressed 
> > > in this message are those of the individual sender unless otherwise
> > stated.
> > > Nothing contained in this message shall be construed as an offer or 
> > > acceptance of any offer by eInfochips Limited and/or eInfochips
> > > Inc("eInfochips") unless sent with that express intent and with due 
> > > authority of eInfochips. eInfochips has taken enough precautions to 
> > > prevent the spread of viruses. However the company accepts no 
> > > liability for any damage caused by any virus transmitted by this
> > email.
> > > > 
> > > 
> > > 
> > > 
> > > eInfochips Business Disclaimer:
> > > This message may contain confidential, proprietary or legally 
> > > Privileged information. In case you are not the original intended 
> > > Recipient of the message, you must not, directly or indirectly, use,
> 
> > > Disclose, distribute, print, or copy any part of this message and
> you 
> > > are requested to delete it and inform the sender. Any views
> expressed 
> > > in this message are those of the individual sender unless otherwise
> > stated.
> > > Nothing contained in this message shall be construed as an offer or 
> > > acceptance of any offer by eInfochips Limited and/or eInfochips
> > > Inc("eInfochips") unless sent with that express intent and with due 
> > > authority of eInfochips. eInfochips has taken enough precautions to 
> > > prevent the spread of viruses. However the company accepts no 
> > > liability for any damage caused by any virus transmitted by this
> > email.
> > > 
> > > 
> > > eInfochips Business Disclaimer:
> > > This message may contain confidential, proprietary or legally 
> > > Privileged information. In case you are not the original intended 
> > > Recipient of the message, you must not, directly or indirectly, use,
> 
> > > Disclose, distribute, print, or copy any part of this message and
> you 
> > > are requested to delete it and inform the sender. Any views
> expressed 
> > > in this message are those of the individual sender unless otherwise 
> > > stated. Nothing contained in this message shall be construed as an 
> > > offer or acceptance of any offer by eInfochips Limited and/or 
> > > eInfochips Inc("eInfochips") unless sent with that express intent
> and 
> > > with due authority of eInfochips. eInfochips has taken enough 
> > > precautions to prevent the spread of viruses. However the company
> > accepts no liability for any damage caused by any virus transmitted by
> > this email.
> > > 
> > > 
> > > 
> > > eInfochips Business Disclaimer:
> > > This message may contain confidential, proprietary or legally
> > Privileged information. In case you are not the original intended
> > Recipient of the message, you must not, directly or indirectly, use,
> > Disclose, distribute, print, or copy any part of this message and you
> > are requested to delete it and inform the sender. Any views expressed
> in
> > this message are those of the individual sender unless otherwise
> stated.
> > Nothing contained in this message shall be construed as an offer or
> > acceptance of any offer by eInfochips Limited and/or eInfochips
> > Inc("eInfochips") unless sent with that express intent and with due
> > authority of eInfochips. eInfochips has taken enough precautions to
> > prevent the spread of viruses. However the company accepts no
> liability
> > for any damage caused by any virus transmitted by this email.
> > > 
> > 
> > 
> > 
> > eInfochips Business Disclaimer:
> > This message may contain confidential, proprietary or legally
> Privileged
> > information. In case you are not the original intended Recipient of
> the
> > message, you must not, directly or indirectly, use, Disclose,
> > distribute, print, or copy any part of this message and you are
> > requested to delete it and inform the sender. Any views expressed in
> > this message are those of the individual sender unless otherwise
> stated.
> > Nothing contained in this message shall be construed as an offer or
> > acceptance of any offer by eInfochips Limited and/or eInfochips
> > Inc("eInfochips") unless sent with that express intent and with due
> > authority of eInfochips. eInfochips has taken enough precautions to
> > prevent the spread of viruses. However the company accepts no
> liability
> > for any damage caused by any virus transmitted by this email.
> > 
> > 
> > eInfochips Business Disclaimer:
> > This message may contain confidential, proprietary or legally
> Privileged
> > information. In case you are not the original intended Recipient of
> the
> > message, you must not, directly or indirectly, use, Disclose,
> > distribute, print, or copy any part of this message and you are
> > requested to delete it and inform the sender. Any views expressed in
> > this message are those of the individual sender unless otherwise
> stated.
> > Nothing contained in this message shall be construed as an offer or
> > acceptance of any offer by eInfochips Limited and/or eInfochips
> > Inc("eInfochips") unless sent with that express intent and with due
> > authority of eInfochips. eInfochips has taken enough precautions to
> > prevent the spread of viruses. However the company accepts no
> liability
> > for any damage caused by any virus transmitted by this email.
> > 
> > 
> > 
> > eInfochips Business Disclaimer:
> > This message may contain confidential, proprietary or legally
> Privileged
> > information. In case you are not the original intended Recipient of
> the
> > message, you must not, directly or indirectly, use, Disclose,
> > distribute, print, or copy any part of this message and you are
> > requested to delete it and inform the sender. Any views expressed in
> > this message are those of the individual sender unless otherwise
> stated.
> > Nothing contained in this message shall be construed as an offer or
> > acceptance of any offer by eInfochips Limited and/or eInfochips
> > Inc("eInfochips") unless sent with that express intent and with due
> > authority of eInfochips. eInfochips has taken enough precautions to
> > prevent the spread of viruses. However the company accepts no
> liability
> > for any damage caused by any virus transmitted by this email.
> > 
> > 
> > eInfochips Business Disclaimer:
> > This message may contain confidential, proprietary or legally
> Privileged
> > information. In case you are not the original intended Recipient of
> the
> > message, you must not, directly or indirectly, use, Disclose,
> distribute,
> > print, or copy any part of this message and you are requested to
> delete it
> > and inform the sender. Any views expressed in this message are those
> of the
> > individual sender unless otherwise stated. Nothing contained in this
> message
> > shall be construed as an offer or acceptance of any offer by
> eInfochips
> > Limited and/or eInfochips Inc("eInfochips") unless sent with that
> express
> > intent and with due authority of eInfochips. eInfochips has taken
> enough
> > precautions to prevent the spread of viruses. However the company
> accepts no
> > liability for any damage caused by any virus transmitted by this
> email.
> > 
> > 
> > 
> > eInfochips Business Disclaimer:
> > This message may contain confidential, proprietary or legally
> Privileged information. In case you are not the original intended
> Recipient of the message, you must not, directly or indirectly, use,
> Disclose, distribute, print, or copy any part of this message and you
> are requested to delete it and inform the sender. Any views expressed in
> this message are those of the individual sender unless otherwise stated.
> Nothing contained in this message shall be construed as an offer or
> acceptance of any offer by eInfochips Limited and/or eInfochips
> Inc("eInfochips") unless sent with that express intent and with due
> authority of eInfochips. eInfochips has taken enough precautions to
> prevent the spread of viruses. However the company accepts no liability
> for any damage caused by any virus transmitted by this email.
> > 
> 
> 
> 
> eInfochips Business Disclaimer:
> This message may contain confidential, proprietary or legally Privileged 
> information. In case you are not the original intended Recipient of the 
> message, you must not, directly or indirectly, use, Disclose, distribute, 
> print, or copy any part of this message and you are requested to delete it 
> and inform the sender. Any views expressed in this message are those of the 
> individual sender unless otherwise stated. Nothing contained in this message 
> shall be construed as an offer or acceptance of any offer by eInfochips 
> Limited and/or eInfochips Inc("eInfochips") unless sent with that express 
> intent and with due authority of eInfochips. eInfochips has taken enough 
> precautions to prevent the spread of viruses. However the company accepts no 
> liability for any damage caused by any virus transmitted by this email.
> 



eInfochips Business Disclaimer:
This message may contain confidential, proprietary or legally Privileged 
information. In case you are not the original intended Recipient of the 
message, you must not, directly or indirectly, use, Disclose, distribute, 
print, or copy any part of this message and you are requested to delete it and 
inform the sender. Any views expressed in this message are those of the 
individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by eInfochips Limited 
and/or eInfochips Inc("eInfochips") unless sent with that express intent and 
with due authority of eInfochips. eInfochips has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]