Error in staging

Adam Dershowitz Ph.D., P.E. dersh at
Tue Jun 4 10:40:27 PDT 2013

I am trying to create a port for SUNDIALS  (, and I have two questions.  It follows ./configure make make install.  So, I have a pretty minimal Portfile.  Using my local test portfile if I do sudo port install, it builds, and I see the libraries get installed into /opt/local/lib

But, I also see these errors:

--->  Staging sundials into destroot
Error: No files have been installed in the destroot directory!
Error: Please make sure that this software supports 'make install DESTDIR=${destroot}' or implement an alternative destroot mechanism in the Portfile.
Error: Files might have been installed directly into your system, check before proceeding.
Error: org.macports.destroot for port sundials returned: Staging sundials into destroot failed
Please see the log file for port sundials for details:
To report a bug, follow the instructions in the guide:
Error: Processing of port sundials failed

My portfile doesn't have anything in it about destroot, so it should use the default, and seems to.  Yet, I get that error.  In my logfile I see some things like this:

:info:destroot Install src/kinsol/fcmix...
:info:destroot ----------------------
:info:destroot make[1]: Entering directory `/opt/local/var/macports/build/_Users_adershowitz_Programming_ports_math_sundials/sundials/work/sundials-2.5.0/src/kinsol/fcmix'
:info:destroot /bin/sh ./../../../config/mkinstalldirs /opt/local/lib
:info:destroot /bin/sh ../../..//libtool --mode=install /usr/bin/install -c /opt/local/lib
:info:destroot /usr/bin/install -c .libs/libsundials_fkinsol.lai /opt/local/lib/
:info:destroot /usr/bin/install -c .libs/libsundials_fkinsol.a /opt/local/lib/libsundials_fkinsol.a
:info:destroot chmod 644 /opt/local/lib/libsundials_fkinsol.a
:info:destroot ranlib /opt/local/lib/libsundials_fkinsol.a
:info:destroot ----------------------------------------------------------------------
:info:destroot Libraries have been installed in:
:info:destroot    /opt/local/lib
:info:destroot If you ever happen to want to link against installed libraries
:info:destroot in a given directory, LIBDIR, you must either use libtool, and
:info:destroot specify the full pathname of the library, or use the `-LLIBDIR'
:info:destroot flag during linking and do at least one of the following:
:info:destroot    - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
:info:destroot      during execution
:info:destroot See any operating system documentation about shared libraries for
:info:destroot more information, such as the ld(1) and manual pages.
:info:destroot ----------------------------------------------------------------------
:info:destroot make[1]: Leaving directory `/opt/local/var/macports/build/_Users_adershowitz_Programming_ports_math_sundials/sundials/work/sundials-2.5.0/src/kinsol/fcmix'

Is there something that has to be done to get the libraries to be in the "right place" to be found?  Or for macports not to complain about them?

Also, on a separate issue related to this port.  The source is released under a BSD license.  But the web site requires that you put in a name and  email address to download the source. For now I have just followed the example of the geoexpress-sdk port (which requires a manual download).  But, is it possible to put a mirror of the source on Macports so that it will support an automatic download?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list