Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1459 > unrolled thread

Building 4.6.x on OSX

Started bydan.hinckley@gmail.com
First post2012-10-31 14:06 -0700
Last post2012-11-15 08:52 -0800
Articles 4 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Building 4.6.x on OSX dan.hinckley@gmail.com - 2012-10-31 14:06 -0700
    Re: Building 4.6.x on OSX dan.hinckley@gmail.com - 2012-11-02 13:24 -0700
      Re: Building 4.6.x on OSX Ron Shepard <ron-shepard@NOSPAM.comcast.net> - 2012-11-03 11:01 -0500
        Re: Building 4.6.x on OSX dan.hinckley@gmail.com - 2012-11-15 08:52 -0800

#1459 — Building 4.6.x on OSX

Fromdan.hinckley@gmail.com
Date2012-10-31 14:06 -0700
SubjectBuilding 4.6.x on OSX
Message-ID<74fb300d-455f-4f20-82d9-4530bc7eb379@googlegroups.com>
 I am something of a noob.

Been running 4.4 patch level 2 happily for a couple of years and decided to see about 4.6.

It's a nightmare. The Cairo libs appear to install properly, but Gnuplot configure won't find the libs. Pango won't build:

<blockquote>checking for CAIRO... no
no
configure: error: *** Could not enable any backends.
*** Must have at least one backend to build Pango.
/<blockquote>

Gnuplot complains about two things: Cairo and Pango:
<blockquote>
No package 'cairo' found
No package 'pango' found
No package 'pangocairo' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables CAIROPANGO_CFLAGS and CAIROPANGO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

configure: WARNING: The wxWidgets terminal will not be compiled.
checking for PANGO_1_10_2... no
checking for CAIROPDF... configure: WARNING:
Package requirements (       cairo >= 1.2 cairo-pdf >= 1.2 pango >= 1.10 pangocairo >= 1.10 glib-2.0) were not met:

No package 'cairo' found
No package 'cairo-pdf' found
No package 'pango' found
No package 'pangocairo' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables CAIROPDF_CFLAGS and CAIROPDF_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

configure: WARNING: The cairo terminals will not be compiled.
/<blockquote>

and the make command for Gnuplot says:
<blockquote>
ld: library not found for -lpng12
collect2: ld returned 1 exit status
make[3]: *** [gnuplot] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
/<blockquote>

I guess I can live w/o the Cairo and Pango but I have been tearing my hair out trying to figure ut two things:

I've tried to modify the PKG_CONFIG_PATH but with no luck but I am not expert on such things.

- How do I get lpng12 installed?

- How to I persuade gnuplot to find Cairo?

- How do I get Pango to find Cairo?

The sources I've googled have many suggestions but none appear to work.

I anyone can point me to some detailed outline for this I would really appreciate it.

I am not using MacPorts or Fink for any of this.

Snow Leopard
Model Name:	iMac
Model Identifier:	iMac7,1
Processor Name:	Intel Core 2 Duo
Processor Speed:	2.8 GHz
Memory:	6 GB

[toc] | [next] | [standalone]


#1460

Fromdan.hinckley@gmail.com
Date2012-11-02 13:24 -0700
Message-ID<e0918f03-4f94-47fd-97c5-d1f44872d7d6@googlegroups.com>
In reply to#1459
On Wednesday, October 31, 2012 10:06:46 PM UTC+1, dan.hi...@gmail.com wrote:
> I am something of a noob.
> 
> 
> 
> Been running 4.4 patch level 2 happily for a couple of years and decided to see about 4.6.
> 
> 
> 
> It's a nightmare. The Cairo libs appear to install properly, but Gnuplot configure won't find the libs. Pango won't build:
> 
> 
> 
> <blockquote>checking for CAIRO... no
> 
> no
> 
> configure: error: *** Could not enable any backends.
> 
> *** Must have at least one backend to build Pango.
> 
> /<blockquote>
> 
> 
> 
> Gnuplot complains about two things: Cairo and Pango:
> 
> <blockquote>
> 
> No package 'cairo' found
> 
> No package 'pango' found
> 
> No package 'pangocairo' found
> 
> 
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
> 
> 
> 
> Alternatively, you may set the environment variables CAIROPANGO_CFLAGS and CAIROPANGO_LIBS to avoid the need to call pkg-config.
> 
> See the pkg-config man page for more details.
> 
> 
> 
> configure: WARNING: The wxWidgets terminal will not be compiled.
> 
> checking for PANGO_1_10_2... no
> 
> checking for CAIROPDF... configure: WARNING:
> 
> Package requirements (       cairo >= 1.2 cairo-pdf >= 1.2 pango >= 1.10 pangocairo >= 1.10 glib-2.0) were not met:
> 
> 
> 
> No package 'cairo' found
> 
> No package 'cairo-pdf' found
> 
> No package 'pango' found
> 
> No package 'pangocairo' found
> 
> 
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
> 
> 
> 
> Alternatively, you may set the environment variables CAIROPDF_CFLAGS and CAIROPDF_LIBS to avoid the need to call pkg-config.
> 
> See the pkg-config man page for more details.
> 
> 
> 
> configure: WARNING: The cairo terminals will not be compiled.
> 
> /<blockquote>
> 
> 
> 
> and the make command for Gnuplot says:
> 
> <blockquote>
> 
> ld: library not found for -lpng12
> 
> collect2: ld returned 1 exit status
> 
> make[3]: *** [gnuplot] Error 1
> 
> make[2]: *** [all-recursive] Error 1
> 
> make[1]: *** [all-recursive] Error 1
> 
> make: *** [all] Error 2
> 
> /<blockquote>
> 
> 
> 
> I guess I can live w/o the Cairo and Pango but I have been tearing my hair out trying to figure ut two things:
> 
> 
> 
> I've tried to modify the PKG_CONFIG_PATH but with no luck but I am not expert on such things.
> 
> - How do I get lpng12 installed?
> 
> - How to I persuade gnuplot to find Cairo?
> 
> - How do I get Pango to find Cairo?
> 
> The sources I've googled have many suggestions but none appear to work.
> 
> I anyone can point me to some detailed outline for this I would really appreciate it.
> 
> I am not using MacPorts or Fink for any of this.
>  
> Snow Leopard
> 
> Model Name:	iMac
> 
> Model Identifier:	iMac7,1
> 
> Processor Name:	Intel Core 2 Duo
> 
> Processor Speed:	2.8 GHz
> 
> Memory:	6 GB

UPDATE:

lpng12 problem solved and GNUplot 4.6.1 patchlevel 1 built and running. What solved the lpng issue was this:

http://ethan.tira-thompson.com/Mac_OS_X_Ports.html

but the cairo problem seems intractable. Pointers and suggestions most welcome.

[toc] | [prev] | [next] | [standalone]


#1462

FromRon Shepard <ron-shepard@NOSPAM.comcast.net>
Date2012-11-03 11:01 -0500
Message-ID<ron-shepard-68C1DC.11011003112012@news60.forteinc.com>
In reply to#1460
> I am something of a noob.

I use the package manager fink to install gnuplot on MacOSX. It 
keeps track of dependencies on other libraries and fonts. You can 
get started here.

   http://www.finkproject.org

The eventual command to install the code is something like

  fink install gnuplot

or

  fink install gnuplot-nogtk

depending on what kind of graphics/library/device support you use.  
As of right now this instant, the current version is 4.6.0-2.  
Generally fink lags a few weeks behind the cutting edge, so that may 
be important in your decision whether to use it.  If you really are 
a noob, then this approach will solve a lot of problems with various 
software installations. After installation, do "fink list" to see 
what is available -- it is a very long list.

$.02 -Ron Shepard

[toc] | [prev] | [next] | [standalone]


#1493

Fromdan.hinckley@gmail.com
Date2012-11-15 08:52 -0800
Message-ID<b90eca99-d0be-43b9-886d-490b89bd6ae2@googlegroups.com>
In reply to#1462
On Saturday, November 3, 2012 5:01:15 PM UTC+1, Ron Shepard wrote:
> > I am something of a noob.
> 
> I use the package manager fink to install gnuplot on MacOSX. It 
> keeps track of dependencies on other libraries and fonts. You can 
> get started here.
> 
>    http://www.finkproject.org
> 
> The eventual command to install the code is something like
> 
>   fink install gnuplot
> 
> or
> 
>   fink install gnuplot-nogtk
> 
> depending on what kind of graphics/library/device support you use.  
> As of right now this instant, the current version is 4.6.0-2.  
> Generally fink lags a few weeks behind the cutting edge, so that may 
> be important in your decision whether to use it.  If you really are 
> a noob, then this approach will solve a lot of problems with various 
> software installations. After installation, do "fink list" to see 
> what is available -- it is a very long list.
> 
> $.02 -Ron Shepard

Well, I had no problems building 4.4.x but to upgrade 4.6 w/pango & cairo was just too much trouble; it worked, but w/o those terminals. So I ripped all the builds of gnuplot out and went to Macports and I'm a happy camper; all works as it should.

Thanks for the help.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web