problems with gtk+2-dev and matplotlib+imagemagick install

View: New views
8 Messages — Rating Filter:   Alert me  

problems with gtk+2-dev and matplotlib+imagemagick install

by Eduardo Lopez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have been trying to install to different packages that require gtk+2-dev.
The packages are matplotlib-py25 and imagemagick. These are bein installed
on a machine running Darwin Kernel Version 9.2.2 using fink. In trying to
do this, I never get through the installation as I get errors for
gtk+2-dev.

On my first attempt I simply did 'fink install imagemagick'. It bailed out
with the message:

Failed: can't create package gtk+2-dev_2.6.10-1004_darwin-i386.deb

I had gotten a worse problem with matplotlib-py25, because this
installation froze my display 3 times.

Then, I went through the FAQ page:

http://www.finkproject.org/faq/comp-packages.php?phpLang=en#Leopard-libXran
dr

and found a bug for something similar for gtk+2, where it was suggested to
run:

sudo perl -pi.bak -e 's|2.0.0|2.1.0|' /usr/X11/lib/libXrandr.la

I did this and it did not fix the problem. Specifically, what happened was
that when I tried to install both imagemagick or matplotlib-py25, I would
get the following message:

Failed: can't install package gtk+2-dev-2.6.10-1004

Now I am not sure if the 'perl' script above made it worse, or just did
nothing. Also, I am clearly still not able to get the packages I need
installed.

Does anyone have any suggestions? Thanks,

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@...
http://news.gmane.org/gmane.os.apple.fink.beginners

Re: problems with gtk+2-dev and matplotlib+imagemagick install

by Alexander Hansen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 15 July 2008 12:43:31 Eduardo Lopez wrote:

> Hello,
>
> I have been trying to install to different packages that require gtk+2-dev.
> The packages are matplotlib-py25 and imagemagick. These are bein installed
> on a machine running Darwin Kernel Version 9.2.2 using fink. In trying to
> do this, I never get through the installation as I get errors for
> gtk+2-dev.
>
> On my first attempt I simply did 'fink install imagemagick'. It bailed out
> with the message:
>
> Failed: can't create package gtk+2-dev_2.6.10-1004_darwin-i386.deb
>
> I had gotten a worse problem with matplotlib-py25, because this
> installation froze my display 3 times.
>
> Then, I went through the FAQ page:
>
> http://www.finkproject.org/faq/comp-packages.php?phpLang=en#Leopard-libXran
> dr
>
> and found a bug for something similar for gtk+2, where it was suggested to
> run:
>
> sudo perl -pi.bak -e 's|2.0.0|2.1.0|' /usr/X11/lib/libXrandr.la
>
> I did this and it did not fix the problem. Specifically, what happened was
> that when I tried to install both imagemagick or matplotlib-py25, I would
> get the following message:
>
> Failed: can't install package gtk+2-dev-2.6.10-1004
>
> Now I am not sure if the 'perl' script above made it worse, or just did
> nothing. Also, I am clearly still not able to get the packages I need
> installed.
>
> Does anyone have any suggestions? Thanks,
>
It's impossible to tell from what you posted.  The messages that you've posted
regarding gtk+2 could come from a large number of different causes.  

Try to install gtk+2 again, and post the output starting with the last line
the compiler tries to run before errors occur (assuming that's the failure
mode--impossible to tell at this stabe).


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@...
http://news.gmane.org/gmane.os.apple.fink.beginners

signature.asc (196 bytes) Download Attachment

Re: problems with gtk+2-dev and matplotlib+imagemagick install

by Eduardo Lopez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Alex, so the most information I get is what I am copying next. It
only mentions circular dependencies. I am transcribing the entire output I
get after asking to install gtk+2-dev. Here is goes:

fink install gtk+2-dev
Password:
Information about 6991 packages read in 0 seconds.

fink needs help picking an alternative to satisfy a virtual dependency. The candidates:

(1) octave-atlas: Matlab-like language for computations
(2) octave: Matlab-like language for computations

Pick one: [1]

fink needs help picking an alternative to satisfy a virtual dependency. The candidates:

(1) gnuplot: Command-driven interactive plotting program
(2) gnuplot-nox: Command-driven interactive plotting program

Pick one: [1]
The following package will be installed or updated:
  gtk+2-dev
The following 56 additional packages will be installed:
  doxygen gail18 gail18-dev gail18-shlibs gconf2 gconf2-dev gconf2-shlibs gnome-keyring gnome-keyring-dev gnome-keyring-shlibs
  gnome-vfs2-unified gnome-vfs2-unified-dev gnome-vfs2-unified-shlibs gnuplot graphviz graphviz-shlibs gst-plugins-base-0.10
  gst-plugins-base-0.10-dev gst-plugins-base-0.10-shlibs gtk+2 gtk+2-shlibs gtkglext1 gtkglext1-shlibs libbonoboui2
  libbonoboui2-dev libbonoboui2-shlibs libdatrie libdatrie-shlibs libglade2 libglade2-shlibs libgnome2 libgnome2-dev
  libgnome2-shlibs libgnomecanvas2 libgnomecanvas2-dev libgnomecanvas2-shlibs libgnomeprint2.2-dev libgnomeprint2.2-shlibs
  libgnomeprintui2.2-dev libgnomeprintui2.2-shlibs libgnomeui2-dev libgnomeui2-shlibs libgsf1.114-dev libgsf1.114-shlibs librsvg2
  librsvg2-shlibs libthai libthai-dev libthai-shlibs octave-atlas pango1-xft2-ft219 pango1-xft2-ft219-dev pango1-xft2-ft219-shlibs
  swig wxgtk2.8 wxgtk2.8-shlibs
Do you want to continue? [Y/n]
Failed: Problem resolving dependencies. Check for circular dependencies.

That is the end of the output.

On Tue, 15 Jul 2008, Alexander Hansen wrote:

> On Tuesday 15 July 2008 12:43:31 Eduardo Lopez wrote:
>> Hello,
>>
>> I have been trying to install to different packages that require gtk+2-dev.
>> The packages are matplotlib-py25 and imagemagick. These are bein installed
>> on a machine running Darwin Kernel Version 9.2.2 using fink. In trying to
>> do this, I never get through the installation as I get errors for
>> gtk+2-dev.
>>
>> On my first attempt I simply did 'fink install imagemagick'. It bailed out
>> with the message:
>>
>> Failed: can't create package gtk+2-dev_2.6.10-1004_darwin-i386.deb
>>
>> I had gotten a worse problem with matplotlib-py25, because this
>> installation froze my display 3 times.
>>
>> Then, I went through the FAQ page:
>>
>> http://www.finkproject.org/faq/comp-packages.php?phpLang=en#Leopard-libXran
>> dr
>>
>> and found a bug for something similar for gtk+2, where it was suggested to
>> run:
>>
>> sudo perl -pi.bak -e 's|2.0.0|2.1.0|' /usr/X11/lib/libXrandr.la
>>
>> I did this and it did not fix the problem. Specifically, what happened was
>> that when I tried to install both imagemagick or matplotlib-py25, I would
>> get the following message:
>>
>> Failed: can't install package gtk+2-dev-2.6.10-1004
>>
>> Now I am not sure if the 'perl' script above made it worse, or just did
>> nothing. Also, I am clearly still not able to get the packages I need
>> installed.
>>
>> Does anyone have any suggestions? Thanks,
>>
>
> It's impossible to tell from what you posted.  The messages that you've posted
> regarding gtk+2 could come from a large number of different causes.
>
> Try to install gtk+2 again, and post the output starting with the last line
> the compiler tries to run before errors occur (assuming that's the failure
> mode--impossible to tell at this stabe).
>

--
Eduardo Lopez
University of Oxford
Oxford OX1 1HP
UK
+44 1865 278806
+44 7786 039991

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@...
http://news.gmane.org/gmane.os.apple.fink.beginners

Re: problems with gtk+2-dev and matplotlib+imagemagick install

by Alexander Hansen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eduardo Lopez wrote:

> Dear Alex, so the most information I get is what I am copying next. It
> only mentions circular dependencies. I am transcribing the entire
> output I get after asking to install gtk+2-dev. Here is goes:
>
> fink install gtk+2-dev
> Password:
> Information about 6991 packages read in 0 seconds.
>
> fink needs help picking an alternative to satisfy a virtual
> dependency. The candidates:
>
> (1)    octave-atlas: Matlab-like language for computations
> (2)    octave: Matlab-like language for computations
>
> Pick one: [1]
>
> fink needs help picking an alternative to satisfy a virtual
> dependency. The candidates:
>
> (1)    gnuplot: Command-driven interactive plotting program
> (2)    gnuplot-nox: Command-driven interactive plotting program
>
> Pick one: [1] The following package will be installed or updated:
>  gtk+2-dev
> The following 56 additional packages will be installed:
>  doxygen gail18 gail18-dev gail18-shlibs gconf2 gconf2-dev
> gconf2-shlibs gnome-keyring gnome-keyring-dev gnome-keyring-shlibs
>  gnome-vfs2-unified gnome-vfs2-unified-dev gnome-vfs2-unified-shlibs
> gnuplot graphviz graphviz-shlibs gst-plugins-base-0.10
>  gst-plugins-base-0.10-dev gst-plugins-base-0.10-shlibs gtk+2
> gtk+2-shlibs gtkglext1 gtkglext1-shlibs libbonoboui2
>  libbonoboui2-dev libbonoboui2-shlibs libdatrie libdatrie-shlibs
> libglade2 libglade2-shlibs libgnome2 libgnome2-dev
>  libgnome2-shlibs libgnomecanvas2 libgnomecanvas2-dev
> libgnomecanvas2-shlibs libgnomeprint2.2-dev libgnomeprint2.2-shlibs
>  libgnomeprintui2.2-dev libgnomeprintui2.2-shlibs libgnomeui2-dev
> libgnomeui2-shlibs libgsf1.114-dev libgsf1.114-shlibs librsvg2
>  librsvg2-shlibs libthai libthai-dev libthai-shlibs octave-atlas
> pango1-xft2-ft219 pango1-xft2-ft219-dev pango1-xft2-ft219-shlibs
>  swig wxgtk2.8 wxgtk2.8-shlibs
> Do you want to continue? [Y/n] Failed: Problem resolving dependencies.
> Check for circular dependencies.
>
> That is the end of the output.
>
OK.  That makes sense.  It's good to see the list of possible candidate
packages that are doing bad things.  You might try installing the
packages (other than gtk+2 and gtk+2-shlibs) in the dependency list
individually to whittle the list down.

Also, we are having some problems with the new version of graphviz, so
that might be a place to start.  Try

sudo apt-get install graphviz=1.16-1013

to install the version of that package from the binary distribution.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@...
http://news.gmane.org/gmane.os.apple.fink.beginners

Re: problems with gtk+2-dev and matplotlib+imagemagick install

by Eduardo Lopez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Alex,

By first installing graphviz the way you suggested I was able to complete
the installation of gtk+2-dev in a few steps more. I was then able to get
through imagemagick and matplotlib-py25 installations. Thank you

One more snag is that I am not being able to get matplotlib to work within
python. It does not seems to see the package when I try to import it. Am I
missing something? I went through as many webpages as I could, and in all
I found instructions to go to

http://fink.sourceforge.net/pdb/package.php/matplotlib-py25

which gives the error

Parse error: parse error, unexpected'{'in
/home/groups/f/fi/fink/htdocs/pdb/header.inc

On Wed, 16 Jul 2008, Alexander K. Hansen wrote:

> Eduardo Lopez wrote:
>> Dear Alex, so the most information I get is what I am copying next. It
>> only mentions circular dependencies. I am transcribing the entire
>> output I get after asking to install gtk+2-dev. Here is goes:
>>
>> fink install gtk+2-dev
>> Password:
>> Information about 6991 packages read in 0 seconds.
>>
>> fink needs help picking an alternative to satisfy a virtual
>> dependency. The candidates:
>>
>> (1)    octave-atlas: Matlab-like language for computations
>> (2)    octave: Matlab-like language for computations
>>
>> Pick one: [1]
>>
>> fink needs help picking an alternative to satisfy a virtual
>> dependency. The candidates:
>>
>> (1)    gnuplot: Command-driven interactive plotting program
>> (2)    gnuplot-nox: Command-driven interactive plotting program
>>
>> Pick one: [1] The following package will be installed or updated:
>>  gtk+2-dev
>> The following 56 additional packages will be installed:
>>  doxygen gail18 gail18-dev gail18-shlibs gconf2 gconf2-dev
>> gconf2-shlibs gnome-keyring gnome-keyring-dev gnome-keyring-shlibs
>>  gnome-vfs2-unified gnome-vfs2-unified-dev gnome-vfs2-unified-shlibs
>> gnuplot graphviz graphviz-shlibs gst-plugins-base-0.10
>>  gst-plugins-base-0.10-dev gst-plugins-base-0.10-shlibs gtk+2
>> gtk+2-shlibs gtkglext1 gtkglext1-shlibs libbonoboui2
>>  libbonoboui2-dev libbonoboui2-shlibs libdatrie libdatrie-shlibs
>> libglade2 libglade2-shlibs libgnome2 libgnome2-dev
>>  libgnome2-shlibs libgnomecanvas2 libgnomecanvas2-dev
>> libgnomecanvas2-shlibs libgnomeprint2.2-dev libgnomeprint2.2-shlibs
>>  libgnomeprintui2.2-dev libgnomeprintui2.2-shlibs libgnomeui2-dev
>> libgnomeui2-shlibs libgsf1.114-dev libgsf1.114-shlibs librsvg2
>>  librsvg2-shlibs libthai libthai-dev libthai-shlibs octave-atlas
>> pango1-xft2-ft219 pango1-xft2-ft219-dev pango1-xft2-ft219-shlibs
>>  swig wxgtk2.8 wxgtk2.8-shlibs
>> Do you want to continue? [Y/n] Failed: Problem resolving dependencies.
>> Check for circular dependencies.
>>
>> That is the end of the output.
>>
> OK.  That makes sense.  It's good to see the list of possible candidate
> packages that are doing bad things.  You might try installing the
> packages (other than gtk+2 and gtk+2-shlibs) in the dependency list
> individually to whittle the list down.
>
> Also, we are having some problems with the new version of graphviz, so
> that might be a place to start.  Try
>
> sudo apt-get install graphviz=1.16-1013
>
> to install the version of that package from the binary distribution.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Fink-beginners mailing list
> Fink-beginners@...
> http://news.gmane.org/gmane.os.apple.fink.beginners
>

--
Eduardo Lopez
University of Oxford
Oxford OX1 1HP
UK
+44 1865 278806
+44 7786 039991

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@...
http://news.gmane.org/gmane.os.apple.fink.beginners

Re: problems with gtk+2-dev and matplotlib+imagemagick install

by Martin Costabel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eduardo Lopez wrote:
[]

> python. It does not seems to see the package when I try to import it. Am I
> missing something? I went through as many webpages as I could, and in all
> I found instructions to go to
>
> http://fink.sourceforge.net/pdb/package.php/matplotlib-py25
>
> which gives the error
>
> Parse error: parse error, unexpected'{'in
> /home/groups/f/fi/fink/htdocs/pdb/header.inc

I am forwarding this to fink-core, with the hope that someone finally
will fix it. This address should forward to the real URL of the package
database
<http://pdb.finkproject.org/pdb/package.php/matplotlib-py25>
instead of giving an error message. I remember having reported this a
long time ago, but wasn't listened to.

--
Martin




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@...
http://news.gmane.org/gmane.os.apple.fink.beginners

Re: problems with gtk+2-dev and matplotlib+imagemagick install

by Benjamin Reed-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Costabel wrote:

| I am forwarding this to fink-core, with the hope that someone finally
| will fix it. This address should forward to the real URL of the package
| database
| <http://pdb.finkproject.org/pdb/package.php/matplotlib-py25>
| instead of giving an error message. I remember having reported this a
| long time ago, but wasn't listened to.

Musta missed it last time; it's fixed now, should redirect to the real PDB.


- --
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development

Blog: http://www.raccoonfink.com/
Music: http://music.raccoonfink.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIhhqhUu+jZtP2Zf4RAis+AJ9fY/ZduVZWTpfyJxvNNPUy0RA3NQCfV8sT
OzTyIJBhI1CwahWF+7DFEmA=
=66tN
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@...
http://news.gmane.org/gmane.os.apple.fink.beginners

Re: problems with gtk+2-dev and matplotlib+imagemagick install

by Martin Costabel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benjamin Reed wrote:
[]
> Musta missed it last time; it's fixed now, should redirect to the real PDB.

Yes. Works. Thanks.

--
Martin


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@...
http://news.gmane.org/gmane.os.apple.fink.beginners
LightInTheBox - Buy quality products at wholesale price