Opened 10 years ago
Closed 10 years ago
#44923 closed defect (invalid)
Gnuplot 4.6.5 Build Failure
Reported by: | gdesjouis@… | Owned by: | mojca (Mojca Miklavec) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gnuplot |
Description (last modified by mojca (Mojca Miklavec))
After an upgrade to OSX 10.9:
- I uninstalled and cleaned all ports
- uninstalled macports
- updated XCode to 5.1.1
- reinstalled macports
and then tried unsuccessfully to install gnuplot
./stdfn.h:143:12: fatal error: 'varargs.h' file not found
log attached
Attachments (2)
Change History (10)
Changed 10 years ago by gdesjouis@…
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Cc: | mojca@… openmaintainer@… removed |
---|---|
Keywords: | Gnuplot Maverick removed |
Owner: | changed from macports-tickets@… to mojca@… |
Port: | gnuplot added; Gnuplot removed |
comment:2 Changed 10 years ago by mojca (Mojca Miklavec)
Description: | modified (diff) |
---|---|
Version: | 2.3.1 |
comment:3 Changed 10 years ago by mojca (Mojca Miklavec)
Please attach also config.log
. There are a bunch of things that I don't really understand, including the failure to find AquaTerm, the following warning:
WARNING: No C++ compiler found. The wxWidgets terminal will not be compiled.
and a few other things. I don't think this is a generic issue since many other people managed to install gnuplot without problems, but I'm curious to know how you ended up in that branch of the code.
There's this code in src/stdfn.h
:
#if defined(HAVE_VFPRINTF) || defined(HAVE_DOPRNT) # ifdef STDC_HEADERS # include <stdarg.h> # define VA_START(args, lastarg) va_start(args, lastarg) # else # include <varargs.h> # define VA_START(args, lastarg) va_start(args) # endif /* !STDC_HEADERS */ #else /* HAVE_VFPRINTF || HAVE_DOPRNT */ # define va_dcl char *a1, char *a2, char *a3, char *a4, char *a5, char *a6, char *a7, char *a8 #endif /* !(HAVE_VFPRINTF || HAVE_DOPRNT) */
but on my machine the first if
is false.
(You might also ask for help on the gnuplot-beta
mailing list.)
Changed 10 years ago by gdesjouis@…
Attachment: | config.log added |
---|
comment:5 Changed 10 years ago by mojca (Mojca Miklavec)
There is something that shouldn't have happened and is not related to gnuplot:
/usr/include/libc.h:40:10: fatal error: 'stdarg.h' file not found #include <stdarg.h> ^ 1 error generated.
It seems as if something was wrong with your compiler setup. Did you also reinstall Xcode command line tools?
comment:6 Changed 10 years ago by mojca (Mojca Miklavec)
Please ask on the macports users mailing list for help. I'm not sure that I know how to help you.
comment:7 Changed 10 years ago by gdesjouis@…
Ok, thanks, I did install the Xcode command line tool. I'll try to see on the macports users lailing list.
comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
The config.log shows that your version of Clang is:
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
As shown in XcodeVersionInfo this is the version of Clang that came with Xcode 4.1 on OS X 10.6. This is not a suitable compiler for OS X 10.9. Please reinstall the latest version of Xcode and the Xcode command line tools per our installation instructions to get a suitable compiler.
Please do not Cc openmaintainer@… because it is not a valid email address.