Setting up EiffelStudio 6.4 on Mac - Examples from Touch of Class Won't H

3 messages Options
Embed this post
Permalink
Robert-16

Setting up EiffelStudio 6.4 on Mac - Examples from Touch of Class Won't H

Reply Threaded More More options
Print post
Permalink
I am attempting to set up EiffelStudio 6.4 GPL Edition on an Intel based Mac running MaxOSX 10.5.8 in order to run the "Traffic" model from Meyer's "Touch of Class" programming text.  The first example in the model fails to compile with the error:

   Package gtk+-2.0 was not found in the pkg-config search path.
   Perhaps you should add the directory containing 'gtk+-2.0.pc'
   to the PKG_CONFIG_PATH environment variable
   No package 'gtk+-2.0' found

The mentioned file 'gtk+-2.0.pc' exists on my system, no doubt in the wrong location, but I can find no reference to the PKG_CONFIG_PATH environment variable anywhere, not even in the Eiffel generated Makefiles and scripts which seem to drive the compiles.  

Can anyone tell find and alter this environment variable?  

It is also quite possible the the Studion install is broken in some fashion since this is the first code I have attempted to build with it.  I also notice that I can't cut and paste from within the Studio environment.  (all the above was hand typed...)

Thanks,

Bob Kridle


carl94706

Re: Setting up EiffelStudio 6.4 on Mac - Examples from Touch of Class Won't H

Reply Threaded More More options
Print post
Permalink
If you type port installed in the terminal you can see what the active gtk2 is.

I've had to do sudo port uninstall  followed by port upgrade sometimes to get the most recent one active.

Make sure that /opt/local/bin is in your path. The background compiles need one.

Cut and paste in EiffelStudio uses the control key, even though it's on a mac.

Good luck,

Carl


--- In [hidden email], "Robert" <kridle@...> wrote:

>
> I am attempting to set up EiffelStudio 6.4 GPL Edition on an Intel based Mac running MaxOSX 10.5.8 in order to run the "Traffic" model from Meyer's "Touch of Class" programming text.  The first example in the model fails to compile with the error:
>
>    Package gtk+-2.0 was not found in the pkg-config search path.
>    Perhaps you should add the directory containing 'gtk+-2.0.pc'
>    to the PKG_CONFIG_PATH environment variable
>    No package 'gtk+-2.0' found
>
> The mentioned file 'gtk+-2.0.pc' exists on my system, no doubt in the wrong location, but I can find no reference to the PKG_CONFIG_PATH environment variable anywhere, not even in the Eiffel generated Makefiles and scripts which seem to drive the compiles.  
>
> Can anyone tell find and alter this environment variable?  
>
> It is also quite possible the the Studion install is broken in some fashion since this is the first code I have attempted to build with it.  I also notice that I can't cut and paste from within the Studio environment.  (all the above was hand typed...)
>
> Thanks,
>
> Bob Kridle
>


Robert-16

Re: Re: Setting up EiffelStudio 6.4 on Mac - Examples from Touch of Class Won't H

Reply Threaded More More options
Print post
Permalink
Carl,

Thanks for responding.  Unfortunantely, your experience doesn't seem to
relate to mine (see below)
It would be useful to know what versions of Max OSX, X11, Xcode, you have
installed on your Mac.  If you are close to mine, at least I will know it is
possible for a mere mortal (I assume you are a mortal) to get this code
going on a current Mac.

Best.

Bob Kridle

On Sat, Oct 31, 2009 at 7:48 PM, carl94706 <[hidden email]> wrote:

>
>
> If you type port installed in the terminal you can see what the active gtk2
> is.
>



Doesn't see to be a problem here,  current gtk2 is installed.  It is
possible ES is not looking in right place for it.


> I've had to do sudo port uninstall followed by port upgrade sometimes to
> get the most recent one active.
>
> Make sure that /opt/local/bin is in your path. The background compiles need
> one.
>






It is and has been.

> Cut and paste in EiffelStudio uses the control key, even though it's on a
> mac.
>



Tried this and Ctl-C send unexpected signals to processes.  Even copying
from the edit menu in Xterm doesn't work, so I think the problem is deeper
than wrong key bindings.

> Good luck,
>
> Carl
>

>
> --- In [hidden email] <eiffel_software%40yahoogroups.com>,
> "Robert" <kridle@...> wrote:
> >
> > I am attempting to set up EiffelStudio 6.4 GPL Edition on an Intel based
> Mac running MaxOSX 10.5.8 in order to run the "Traffic" model from Meyer's
> "Touch of Class" programming text. The first example in the model fails to
> compile with the error:
> >
> > Package gtk+-2.0 was not found in the pkg-config search path.
> > Perhaps you should add the directory containing 'gtk+-2.0.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'gtk+-2.0' found
> >
> > The mentioned file 'gtk+-2.0.pc' exists on my system, no doubt in the
> wrong location, but I can find no reference to the PKG_CONFIG_PATH
> environment variable anywhere, not even in the Eiffel generated Makefiles
> and scripts which seem to drive the compiles.
> >
> > Can anyone tell find and alter this environment variable?
> >
> > It is also quite possible the the Studion install is broken in some
> fashion since this is the first code I have attempted to build with it. I
> also notice that I can't cut and paste from within the Studio environment.
> (all the above was hand typed...)
> >
> > Thanks,
> >
> > Bob Kridle
> >
>
>  
>


[Non-text portions of this message have been removed]