Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Gimp adventure in X11

Gimp adventure in X11
Thread Tools
outSIDe
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 10, 2003, 02:44 AM
 
Hi there ...

Still new to the whole UNIX thing, and after searching the forum I didn't see this. Please bear with me if it's a painfully stupid question.

Downloaded Apple's X11. Love it!
Downloaded Gimp and GTK+ from OpenDarwin.org. Installed them with the included installer - both installed successfully.

No idea how to run Gimp. Founds some of its MANs, read them. Found (I think) the main Gimp app (Gimp-1.2?), tried different commands in Terminal.

Is there a step I missed? I'm assuming Apple's X11 is its own windows manager ... or do I need to download one to make Gimp work? (AbiWord runs fine on just X11.)

Thank you so much!
     
DaGuy
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Jan 10, 2003, 03:03 AM
 
Launch a terminal session and type:

gimp &


The ampersand just runs it as a background process.
     
outSIDe  (op)
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 10, 2003, 03:19 AM
 
Originally posted by DaGuy:
Launch a terminal session and type:

gimp &

The ampersand just runs it as a background process.



I get "gimp: command not found"
     
trusted_content
Dedicated MacNNer
Join Date: Nov 2002
Status: Offline
Reply With Quote
Jan 10, 2003, 04:00 AM
 
Its not currently included in your shell path. Do you know where it installed?

Frankly I find you have many less hassles if you use the fink method.

You said you found the file... type the path in the terminal to launch:

i. e.

%/directory/directory/gimp

And you have to be typing this from a terminal in XDarwin or Apple's X11.
I offer strictly b2b web-based server-side enterprise solutions for growing e-business trusted content providers ;]
     
DaGuy
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Jan 10, 2003, 04:41 AM
 
Gimp is installed in your home directory as a dot file and the executable is placed in /usr/local/bin. This means that you can launch it by typing the fully qualified path to the executable:

/usr/local/bin/gimp &

If for some reason the above does not work then type:

which gimp

and it will return the path for executable.

If you get sick of typing, then there are other alternatives such as creating an alias or simply including /usr/local/bin in your environment PATH variable. To see what's in your path type:

echo $PATH

Searching this forum should yied discussions on how to set the path variable. Hope it helps.

( Last edited by DaGuy; Jan 10, 2003 at 04:48 AM. )
     
slimmy
Forum Regular
Join Date: Apr 2001
Status: Offline
Reply With Quote
Jan 10, 2003, 09:50 AM
 
Whenever I use fink or Finkcommander to install a package, I get, for ex:

checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... no
checking build system type... powerpc-apple-darwin6.3
checking host system type... powerpc-apple-darwin6.3
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
### execution of ./configure failed, exit code 1
Failed: compiling audiofile-0.2.3-4 failed

I seem not to have the compiler. How do I get it and install it?

I'm NEW to X and UNIX.

slimmy




Originally posted by DaGuy:
Gimp is installed in your home directory as a dot file and the executable is placed in /usr/local/bin. This means that you can launch it by typing the fully qualified path to the executable:

/usr/local/bin/gimp &

If for some reason the above does not work then type:

which gimp

and it will return the path for executable.

If you get sick of typing, then there are other alternatives such as creating an alias or simply including /usr/local/bin in your environment PATH variable. To see what's in your path type:

echo $PATH

Searching this forum should yied discussions on how to set the path variable. Hope it helps.

     
Arkham_c
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jan 10, 2003, 10:04 AM
 
Originally posted by slimmy:
Whenever I use fink or Finkcommander to install a package, I get, for ex:

...
configure: error: no acceptable cc found in $PATH
### execution of ./configure failed, exit code 1
Failed: compiling audiofile-0.2.3-4 failed

I seem not to have the compiler. How do I get it and install it?
Install the Developer Tools package. To get these, you need to join the ADC and download them (joining is free). http://connect.apple.com/
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
outSIDe  (op)
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 10, 2003, 11:52 AM
 
Originally posted by DaGuy:
Gimp is installed in your home directory as a dot file and the executable is placed in /usr/local/bin. This means that you can launch it by typing the fully qualified path to the executable:

/usr/local/bin/gimp &
Thank you so much!
What threw me off is I was in the same directory as Gimp, so I assumed it would know where it is.
This is what ended up working: /usr/local/bin/gimp-1.2 &

Today I face a new challenge: I got Gimp to load and run (thanks to you), but it's seeing all images as black boxes. I think it has something to do with this message in my terminal:

Gdk-WARNING **: locale not supported by C library
dyld: perl multiple definitions of symbol _PLUG_IN_INFO
/Library/Perl/darwin/auto/Gimp/Lib/Lib.bundle definition of _PLUG_IN_INFO
/Library/Perl/darwin/auto/Gimp/UI/UI.bundle definition of _PLUG_IN_INFO

LibGimp-WARNING **: gimp-1.2: wire_read: unexpected EOF

Gdk-WARNING **: locale not supported by C library

I'm pretty sure it's the Gdk-WARNING line, as that reappears when I try to preview or open an image. The OpenDarwin installer seems to have put everything in the right place. Maybe I messed up when I downloaded both GTK 1.2.10 and 2.0.9?

Again, thanks for your help and patience.
     
DaGuy
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Jan 10, 2003, 12:16 PM
 
Cool, glad it helped.

In regards to your latest problem. That one, I'm not familiar with but I do know that gimp depends on a GTK library that is also available at opendarwin.org. You may want to check that you installed the correct prerequisite library.
     
outSIDe  (op)
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 10, 2003, 12:30 PM
 
Originally posted by DaGuy:
Cool, glad it helped.

In regards to your latest problem. That one, I'm not familiar with but I do know that gimp depends on a GTK library that is also available at opendarwin.org. You may want to check that you installed the correct prerequisite library.
Yeah, I actually installed two of them.
I have a feeling that may be the main cause of the problem. I remember OpenDarwin's Aqua-based installer for GTK and Gimp did not have an "uininstall" option, however, so my next project is to find UNIX tips on "uninstalling" or removing everything related to a certain package. Since many of the little components (I know my terminology probably is way off) have names other than the name of the package, I'm a little stumped by this.

If I knew how to start a remote tab I'd buy you a Freestate pint for the help! I'm emboldened by the fact I actually got Gimp running!
     
DaGuy
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Jan 10, 2003, 02:52 PM
 
I think your uninstall approach is sound. Unix software is not as friendly as we Mac users are acustomed to.



We are a spoiled demanding bunch -the way it should be!




Best of luck -you're pretty close.
     
Metzen
Mac Enthusiast
Join Date: Sep 2001
Location: Edmonton, Alberta
Status: Offline
Reply With Quote
Jan 10, 2003, 03:41 PM
 
Originally posted by outSIDe:
Yeah, I actually installed two of them.
I have a feeling that may be the main cause of the problem. I remember OpenDarwin's Aqua-based installer for GTK and Gimp did not have an "uininstall" option, however, so my next project is to find UNIX tips on "uninstalling" or removing everything related to a certain package. Since many of the little components (I know my terminology probably is way off) have names other than the name of the package, I'm a little stumped by this.
What you needed was this:

Uninstaller

Too late now, I guess... (judged by the description of how the software is susposed to work)
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction.
E. F. Schumacher
     
slimmy
Forum Regular
Join Date: Apr 2001
Status: Offline
Reply With Quote
Jan 10, 2003, 06:35 PM
 
When I do this, I get:

[1] 491
dyld: /usr/local/bin/gimp-1.2 can't open library: /usr/local/lib/libgtk-1.2.0.dylib (No such file or directory, errno = 2)

I'm new to this, so what gives?

slimmy



Originally posted by outSIDe:
Thank you so much!
What threw me off is I was in the same directory as Gimp, so I assumed it would know where it is.
This is what ended up working: /usr/local/bin/gimp-1.2 &

Today I face a new challenge: I got Gimp to load and run (thanks to you), but it's seeing all images as black boxes. I think it has something to do with this message in my terminal:

Gdk-WARNING **: locale not supported by C library
dyld: perl multiple definitions of symbol _PLUG_IN_INFO
/Library/Perl/darwin/auto/Gimp/Lib/Lib.bundle definition of _PLUG_IN_INFO
/Library/Perl/darwin/auto/Gimp/UI/UI.bundle definition of _PLUG_IN_INFO

LibGimp-WARNING **: gimp-1.2: wire_read: unexpected EOF

Gdk-WARNING **: locale not supported by C library

I'm pretty sure it's the Gdk-WARNING line, as that reappears when I try to preview or open an image. The OpenDarwin installer seems to have put everything in the right place. Maybe I messed up when I downloaded both GTK 1.2.10 and 2.0.9?

Again, thanks for your help and patience.
     
mrfrost
Mac Elite
Join Date: Mar 2001
Location: Cybertron
Status: Offline
Reply With Quote
Jan 10, 2003, 08:53 PM
 
I also have the problem with gimp opening images as black boxes.
     
AirRon
Junior Member
Join Date: Jul 2001
Location: around
Status: Offline
Reply With Quote
Jan 10, 2003, 11:06 PM
 
I followed all of the directions, I am also getting black boxes with JPEG's (occasionally with noise at one edge . . .)
     
   
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 09:38 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,