Re: Installing gnuplot 4.2.2 on Mac G4 under Mac OS X 10.4.11



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
.



Relevant Pages

  • Re: Uninstall Office 2003 Trial? Add/Remove returns Error Message!
    ... The most common "Warning and Information" source is listed as ... it simply doesn't proceed with the installation. ... Microsoft Office MVP ... MVP FAQ site: http://mvps.org/ ...
    (microsoft.public.office.misc)
  • Re: Company Web
    ... Did you receive any error messages during installation ... Are there any related errors in event log on the SBS server ... please refer to the following Microsoft Web site: ...
    (microsoft.public.windows.server.sbs)
  • Re: Does Epson 4490 work with XP Media Center Edition?
    ... One major complaint I have is the lack of informative error messages. ... A good programmer will anticipate many possible ... In my case it relates to encryption. ... There is no option to overwrite the files at installation. ...
    (rec.photo.digital)
  • Re: MOS 2003 SP1 - Does NOT install--Whats in Event Viewer/App with MSI Source?????
    ... There were some error messages in the 'event log', ... UNable to scan my Office installation for any need for an update, ... They are for MSFT, MSFT will say. ... >only their more senior tech support people have access to tools to analyze ...
    (microsoft.public.officeupdate)
  • Re: XP SP3 Update, Outlook 2002
    ... software that triggers the warning) and the testers were not told of the ... security changes, so it caught everyone, including MVPs, by surprise. ... Diane Poremsky [MVP - Outlook] ... Would it not have been possible during> *installation*, however, to inspect registered> plugins/dlls to at least warn the user that this problem> might occur if installation continues. ...
    (microsoft.public.outlook.installation)