OS 10.4.3, XCode 2.2, X.org
(/usr/local safely out of the way)
-----
$ fink list pilot-link
Information about 5205 packages read in 6 seconds.
i pilot-link9 0.11.8-35 Palm libraries
i pilot-link9-bin 0.11.8-35 Palm libraries
pilot-link9-perl581 0.11.8-11 Palm libraries perl modules
pilot-link9-py23 0.11.8-35 Palm libraries
i pilot-link9-shlibs 0.11.8-35 Palm libraries
----
Now, given the above, it is a mystery why the build fails with:
checking for pilot-link header files... found at /sw/include
checking for pilot library files... found at /sw/lib
checking for main in -lsocket... no
checking to see if I can compile a pilot link program... ok
checking running a pilot-link program ... ok
checking pilot-link version ... configure: error: pilot-link versions
0.11.0 - 0.11.2 are not compatible with J-Pilot
### execution of ./configure failed, exit code 1
Failed: phase compiling: jpilot-ssl-0.99.7-11 failed
Checking the config.log file, I find:
configure:21538: checking pilot-link version
configure:21574: gcc -c -g -O2 -I/sw/include -I/sw/include
-I/sw/include conftest.c >&5
conftest.c: In function 'main':
conftest.c:36: error: nested functions are not supported on MacOSX
configure:21580: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "jpilot"
| #define VERSION "0.99.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define BASE_DIR "/sw"
| #define HAVE_ICONV 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| /* end confdefs.h. */
| #include <pi-version.h>
| int
| main ()
| {
|
| int main()
| {
| #if PILOT_LINK_VERSION==0
| # if PILOT_LINK_MAJOR==11
| # if PILOT_LINK_MINOR==0
| # error 0.11.0 is not compatible with J-Pilot
| # endif
| # if PILOT_LINK_MINOR==1
| # error 0.11.1 is not compatible with J-Pilot
| # endif
| # if PILOT_LINK_MINOR==2
| # error 0.11.2 is not compatible with J-Pilot
| # endif
| # endif
| #endif
| }
|
| ;
| return 0;
| }
configure:21600: error: pilot-link versions 0.11.0 - 0.11.2 are not
compatible with J-Pilot
--
Alexander K. Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel