Dear Sergio,
Thanks for the alert. I’m the official MacPorts maintainer of ifeffit, but I must make my usual warning: I am very experienced with Unix and Linux in general, but I know practically nothing about Perl and don’t really understand MacPorts. (If anyone reading this has the qualifications and the willingness to replace me as maintainer of ifeffit and demeter, we need to talk!) I have been trying for months—and failing—to get Demeter version 0.9.26 to build on my Mac, which gives you a sense of my competence for this job.
Anyway, to the topic at hand. Thank you for including the log file. It looks clear to me that your linker is not finding a gfortran run-time library. You might lack the library on your system, or the library is simply not listed among the link options in your compile command.
fowlerj@817jfmac:~$ port installed g95
The following ports are currently installed:
g95 @0.93_5 (active)
fowlerj@817jfmac:~$ port installed gcc7
The following ports are currently installed:
gcc7 @7.3.0_3 (active)
fowlerj@817jfmac:~$ port installed p5.26-ifeffit
The following ports are currently installed:
p5.26-ifeffit @1.2.13_0+gcc7 (active)
fowlerj@817jfmac:~$ port installed ifeffit
The following ports are currently installed:
ifeffit @1.2.13_5+gcc7 (active)
fowlerj@817jfmac:~$ port ech depof:ifeffit
gcc7
libgcc
libgcc7
libpng
ncurses
pgplot
xorg-libX11
Do you have the package g95 (a FORTRAN compiler) installed? You can see (above) that I have it, but it’s not a listed dependency of ifeffit. Why don’t you try installing it (“sudo port install g95”) and then clean and install first the package ifeffit, then p5.26-ifeffit.
If that works, then it means we should add g95 as a dependency for ifeffit (or p5.26-ifeffit). If it doesn’t work, then at least you might gather more clues.
Best wishes,
Joe Fowler
On Sep 16, 2018, at 3:42 PM, ifeffit-request@millenia.cars.aps.anl.govmailto:ifeffit-request@millenia.cars.aps.anl.gov wrote:
Send Ifeffit mailing list submissions to
ifeffit@millenia.cars.aps.anl.govmailto:ifeffit@millenia.cars.aps.anl.gov
To subscribe or unsubscribe via the World Wide Web, visit
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmillenia.car...
or, via email, send a message with subject or body 'help' to
ifeffit-request@millenia.cars.aps.anl.gov
You can reach the person managing the list at
ifeffit-owner@millenia.cars.aps.anl.gov
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ifeffit digest..."
Today's Topics:
1. Port p5.26-ifeffit not installing via MacPorts on Yosemite
(Sergio Tatay)
From: Sergio Tatay
Subject: [Ifeffit] Port p5.26-ifeffit not installing via MacPorts on Yosemite
Date: September 16, 2018 at 3:12:52 PM MDT
To: "ifeffit@millenia.cars.aps.anl.gov"
Hi everybody,
I’ve been trying to install Demeter package on MacOS using MacPorts. All the dependencies seem to install smoothly but for p5.26-iffefit.
During port install I’ve got the following error:
---> Computing dependencies for demeter
The following dependencies will be installed: p5.26-ifeffit
Continue? [Y/n]: Y
---> Building p5.26-ifeffit
Error: Failed to build p5.26-ifeffit: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port demeter failed
I've pasted below an extract of the log file and attached the complete file to this mail.
I’m completely newbie and I will be very grateful if someone could help me to get the problem solved.
Thanks very much in advance,
Sergio
-LOG FILE-
version:1
:debug:sysinfo OS X 10.10 (darwin/14.5.0) arch i386
:debug:sysinfo MacPorts 2.5.3
:debug:sysinfo Xcode 7.2.1
:debug:sysinfo SDK 10.10
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.10
…
….
:info:build /opt/local/lib/perl5/5.26/darwin-thread-multi-2level/CORE/libperl.dylib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/work/ifeffit-1.2.final/wrappers/perl/../../src/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -lifeffit -L/opt/local/lib -lpgplot -lpng -lX11 -L/opt/local/lib -lSystem -lm \
:info:build
:info:build Undefined symbols for architecture x86_64:
:info:build "__gfortran_compare_string", referenced from:
:info:build _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build _iffcmd_exec_ in libifeffit.a(ifeffit.o)
:info:build _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build _ioflist_ in libifeffit.a(misc_arr.o)
:info:build _file_type_names_ in libifeffit.a(misc_arr.o)
:info:build _glob_ in libifeffit.a(misc_arr.o)
:info:build _settxt_ in libifeffit.a(misc_vars.o)
:info:build ...
:info:build "__gfortran_concat_string", referenced from:
:info:build _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build _fstop_ in libifeffit.a(echo.o)
:info:build _fixnam_ in libifeffit.a(misc_arr.o)
:info:build _prenam_ in libifeffit.a(misc_arr.o)
:info:build _set_array_index_ in libifeffit.a(misc_arr.o)
:info:build _getsca_ in libifeffit.a(misc_vars.o)
:info:build _iff_bkg_cl_ in libifeffit.a(iff_bkg_cl.o)
:info:build ...
:info:build "__gfortran_getenv", referenced from:
:info:build _iff_config_ in libifeffit.a(iff_config.o)
:info:build "__gfortran_st_close", referenced from:
:info:build _close_echofile_ in libifeffit.a(echo.o)
:info:build _fstop_ in libifeffit.a(echo.o)
:info:build _iff_history_ in libifeffit.a(iff_history.o)
:info:build _iff_load_ in libifeffit.a(iff_load.o)
:info:build _iff_log_ in libifeffit.a(iff_log.o)
:info:build _iff_rddata_ in libifeffit.a(iff_rddata.o)
:info:build _iff_save_ in libifeffit.a(iff_save.o)
:info:build ...
:info:build "__gfortran_st_inquire", referenced from:
:info:build _iff_config_ in libifeffit.a(iff_config.o)
:info:build _fefinp_ in libifeffit.a(fefinp.o)
:info:build _openfl_ in libifeffit.a(misc_io.o)
:info:build _newfil_ in libifeffit.a(misc_io.o)
:info:build "__gfortran_st_open", referenced from:
:info:build _rcldat_ in libifeffit.a(clcalc.o)
:info:build _openfl_ in libifeffit.a(misc_io.o)
:info:build "__gfortran_st_read", referenced from:
:info:build _iff_echo_ in libifeffit.a(iff_echo.o)
:info:build _str2dp_ in libifeffit.a(str.o)
:info:build _iread_ in libifeffit.a(iread.o)
:info:build _rdffdt_ in libifeffit.a(rdffdt.o)
:info:build _rdfb1_ in libifeffit.a(rdffdt.o)
:info:build "__gfortran_st_read_done", referenced from:
:info:build _iff_echo_ in libifeffit.a(iff_echo.o)
:info:build _str2dp_ in libifeffit.a(str.o)
:info:build _iread_ in libifeffit.a(iread.o)
:info:build _rdffdt_ in libifeffit.a(rdffdt.o)
:info:build _rdfb1_ in libifeffit.a(rdffdt.o)
:info:build "__gfortran_st_write", referenced from:
:info:build _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build _echo_.part.1 in libifeffit.a(echo.o)
:info:build _chrdmp_ in libifeffit.a(echo.o)
:info:build _fstop_ in libifeffit.a(echo.o)
:info:build _file_type_names_ in libifeffit.a(misc_arr.o)
:info:build _iff_chieps_ in libifeffit.a(iff_chieps.o)
:info:build ...
:info:build "__gfortran_st_write_done", referenced from:
:info:build _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build _echo_.part.1 in libifeffit.a(echo.o)
:info:build _chrdmp_ in libifeffit.a(echo.o)
:info:build _fstop_ in libifeffit.a(echo.o)
:info:build _file_type_names_ in libifeffit.a(misc_arr.o)
:info:build _iff_chieps_ in libifeffit.a(iff_chieps.o)
:info:build ...
:info:build "__gfortran_stop_string", referenced from:
:info:build _fstop_ in libifeffit.a(echo.o)
:info:build "__gfortran_string_index", referenced from:
:info:build _fixnam_ in libifeffit.a(misc_arr.o)
:info:build _isvnam_ in libifeffit.a(misc_arr.o)
:info:build _prenam_ in libifeffit.a(misc_arr.o)
:info:build _glob_ in libifeffit.a(misc_arr.o)
:info:build _iff_bkg_cl_ in libifeffit.a(iff_bkg_cl.o)
:info:build _iff_chieps_ in libifeffit.a(iff_chieps.o)
:info:build _hexcol_ in libifeffit.a(iff_color.o)
:info:build ...
:info:build "__gfortran_string_len_trim", referenced from:
:info:build _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build _fstop_ in libifeffit.a(echo.o)
:info:build _ioflist_ in libifeffit.a(misc_arr.o)
:info:build _fixnam_ in libifeffit.a(misc_arr.o)
:info:build _prenam_ in libifeffit.a(misc_arr.o)
:info:build _fixarr_ in libifeffit.a(misc_arr.o)
:info:build _iofarr_ in libifeffit.a(misc_arr.o)
:info:build ...
:info:build "__gfortran_transfer_character", referenced from:
:info:build _iff_echo_ in libifeffit.a(iff_echo.o)
:info:build _iread_ in libifeffit.a(iread.o)
:info:build _rdffdt_ in libifeffit.a(rdffdt.o)
:info:build _rdfb1_ in libifeffit.a(rdffdt.o)
:info:build "__gfortran_transfer_character_write", referenced from:
:info:build _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build _chrdmp_ in libifeffit.a(echo.o)
:info:build _fstop_ in libifeffit.a(echo.o)
:info:build _iff_chieps_ in libifeffit.a(iff_chieps.o)
:info:build _iff_color_ in libifeffit.a(iff_color.o)
:info:build _iff_pstyle_ in libifeffit.a(iff_color.o)
:info:build ...
:info:build "__gfortran_transfer_integer_write", referenced from:
:info:build _file_type_names_ in libifeffit.a(misc_arr.o)
:info:build _iff_color_ in libifeffit.a(iff_color.o)
:info:build _iff_pstyle_ in libifeffit.a(iff_color.o)
:info:build _iff_feffit_ in libifeffit.a(iff_feffit.o)
:info:build _iff_getpath_ in libifeffit.a(iff_getpath.o)
:info:build _iff_load_ in libifeffit.a(iff_load.o)
:info:build _iff_macro_do_ in libifeffit.a(iff_macro.o)
:info:build ...
:info:build "__gfortran_transfer_real", referenced from:
:info:build _str2dp_ in libifeffit.a(str.o)
:info:build "__gfortran_transfer_real_write", referenced from:
:info:build _iff_correl_s_.part.0 in libifeffit.a(iff_correl.o)
:info:build _iff_cursor_ in libifeffit.a(iff_cursor.o)
:info:build _iff_zoom_ in libifeffit.a(iff_cursor.o)
:info:build _iff_feffit_ in libifeffit.a(iff_feffit.o)
:info:build _iff_print_ in libifeffit.a(iff_print.o)
:info:build _iff_save_ in libifeffit.a(iff_save.o)
:info:build _ishsca_ in libifeffit.a(iff_show.o)
:info:build ...
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [blib/arch/auto/Ifeffit/Ifeffit.bundle] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/work/ifeffit-1.2.final/wrappers/perl'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/work/ifeffit-1.2.final/wrappers/perl" && /usr/bin/make -j4 -w all
:info:build Exit code: 2
:error:build Failed to build p5.26-ifeffit: command execution failed
:debug:build Error code: CHILDSTATUS 42934 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/main.log for details.
_______________________________________________
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmillenia.car...
Unsubscribe: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmillenia.car...