Re: Installing gnuplot 4.2.2 on Mac G4 under Mac OS X 10.4.11
- From: merritt@xxxxxxxxxxxxxxxx (Ethan Merritt)
- Date: Fri, 23 Nov 2007 20:32:59 -0800 (PST)
In article <fbfbeb23-9d73-45bc-883c-b51dbc5a2b66@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Starfighter <sdupree@xxxxxxxxxxxxx> wrote:
In attempting to install gnuplot 4.2.2 on a Mac G4 running Mac OS X v.
4.2.2, I got several error messages before the installation failed.
The error messages asked that I report these messages to the gnuplot
lists, so the excerpt below contains the transcript of the
installation.
Any suggestions as to how to install gnuplot 4.2.2?
I'm not an OSX guy, but...
Build+install of 4.2.2 under OSX 4.10 worked for me.
uname -v
Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386
The main problem I had was that the gnu readline library is for some
reason split into 2 pieces, so you have to link both to -lreadline and -lhistory
OSX 10.5 (Leopard) is a whole other kettle of fish.
Anyhow, cherry-picking from your reported error messages...
checking for ANSI C header files... (cached) yes
checking dirent.h usability... no
checking dirent.h presence... yes
configure: WARNING: dirent.h: present but cannot be compiled
configure: WARNING: dirent.h: check for missing prerequisite headers?
configure: WARNING: dirent.h: see the Autoconf documentation
configure: WARNING: dirent.h: section "Present But Cannot Be Compiled"
configure: WARNING: dirent.h: proceeding with the preprocessor's result
configure: WARNING: dirent.h: in the future, the compiler will take precedence
configure: WARNING: ## ---------------------------------- ##
configure: WARNING: ## Report this to the gnuplot lists. ##
configure: WARNING: ## ---------------------------------- ##
checking for dirent.h... yes
Things I would check:
- What version of autoconf is installed?
A quick Google on the "Present but cannot be compiled" message seems
to indicate this is a problem with older versions of autoconf
(My test machine had 2.60)
- Do you really have the appropriate SDKs installed?
- Do you have gnu make?
(My test machine had GNU Make 3.80)
WARNING: Could not find a working version of snprintf.
If a user provides gnuplot with an improper format statement
then a buffer overflow and/or segfault can result.
Please consider providing snprintf via an external library.
That is quite worrisome. You really, really should have a working
version of snprintf. I suspect one or more missing system packages,
or a really old gcc. But for more specific help you'll need to find
an OSX person.
checking for remove_history in -lreadline... no
configure: WARNING: GNU readline not found - falling back to builtin readline
That is the one error out of the whole lot that I encountered when
building on 10.4. remove_history is in -lhistory, so I had to add
an extra library to the link flags.
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
configure: WARNING: No C++ compiler found. The wxWidgets terminal will
not be compiled.
That is odd also. You don't really need the wxt terminal, but
why does it say it couldn't find a g++ compiler, when clearly it did?
--
Ethan A Merritt
.
- References:
- Installing gnuplot 4.2.2 on Mac G4 under Mac OS X 10.4.11
- From: Starfighter
- Installing gnuplot 4.2.2 on Mac G4 under Mac OS X 10.4.11
- Prev by Date: Installing gnuplot 4.2.2 on Mac G4 under Mac OS X 10.4.11
- Next by Date: Re: gnuplot 4.3 on leopard
- Previous by thread: Installing gnuplot 4.2.2 on Mac G4 under Mac OS X 10.4.11
- Index(es):
Relevant Pages
|