-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan wrote:
> Dear William,
> My system is Mac OSX 10.5.7 with Fink 64 bits updated and I use
> zsh-templates from svn.
> 
> I am trying:
> 
> fink install apbs, and it fails with:
> 
> [snip]
> /bin/rm -rf /sw/src/fink.build/root-apbs-1.1.0-2
> /bin/mkdir -p /sw/src/fink.build/root-apbs-1.1.0-2/sw
> /bin/mkdir -p /sw/src/fink.build/root-apbs-1.1.0-2/DEBIAN
> /usr/sbin/chown -R root:admin /sw/src/fink.build/root-apbs-1.1.0-2
> /var/tmp/tmp.2.h0L77s
>                 #################################################
>                 #################################################
>                 #                                               #
>                 #                  /etc/zshenv                  #
>                 #                                               #
>                 #################################################
>                 #################################################
> 
> 
> # File:  /etc/zshenv
> # Version: 2.0.0
> 
> ###############################################################################
> 
> #  Created by William G. Scott on January 2, 2009.
> #  Copyright (c) . All rights reserved.
> 
> 
> #    This program is free software; you can redistribute it and/or modify
> #    it under the terms of the GNU General Public License as published by
> #    the Free Software Foundation; either version 2 of the License, or
> #    (at your option) any later version.
> #
> #    This program is distributed in the hope that it will be useful,
> #    but WITHOUT ANY WARRANTY; without even the implied warranty of
> #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> #    GNU General Public License for more details.
> #
> #    You should have received a copy of the GNU General Public License
> #    along with this program; if not, write to the Free Software
> #    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
>  02110-1301
> #    USA
> #
> #    cf. URL:   http://www.fsf.org/licensing/licenses/gpl.html
> 
> #
> 
> ##############################################################################
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ##############################################################################
> ######################     Define the minimal $PATH
>  ###################
> ##############################################################################
> 
> 
> #   This file is always read, even with zsh -f .
> 
> #   Therefore this file should contain only directives that cannot be over-
> #   ridden with zsh -f
> 
> #
> 
> #   Uncomment for debug
> 
> #   print "reading /etc/zshenv with $0"
> 
> #
> 
> #   Create the minimal $PATH and $MANPATH assignments:
> 
> 
> 
>     if [[ -x /usr/libexec/path_helper ]]; then
> 
>         eval $(/usr/libexec/path_helper -s)
> 
>     fi
> 
> ##############################################################################
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ##############################################################################
> ########################       Define $ZDOT
> ########################
> ##############################################################################
> 
> #   Uncomment to assign $ZDOT as appropriate
> 
> #   ZDOT="/Library/init/zsh" ; export ZDOT
> 
> #   otherwise, use the following assignment:
> 
> 
> 
>     if [[ -z $ZDOT && -d "/Library/init/zsh" ]]; then
> 
>         ZDOT="/Library/init/zsh" ; export ZDOT
>     elif [[ -z $ZDOT && -d "$HOME/Library/init/zsh" ]]; then
> 
>         ZDOT="$HOME/Library/init/zsh" ; export ZDOT
> 
>     elif [[ -d "/etc/zsh/init/zsh" ]]; then
> 
>         ZDOT="/etc/zsh/init/zsh" ; export ZDOT
> 
>     fi
> 
> ##############################################################################
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ##############################################################################
> #########################        zshenv.d
> ##########################
> ##############################################################################
> 
> #   Put any additional directives for the systemwide zshenv in files within
> #   ${ZDOT}/zshenv.d
> #   See ${ZDOT}/zshenv.d/README for additional information. In general, you
> #   shouldn't need to add in anything.
> 
>     if [[ -d "${ZDOT}/zshenv.d" ]]; then
>         foreach file in $(command ls ${ZDOT}/zshenv.d/* | grep -v disabled |
> grep -v README )
>             source $file
>         end
>     fi
> 
> ##############################################################################
> 
> 
> 
> 
> 
> # The user's own directives can be put into ~/.zshenv
> 
> 
> 
> 
> 
> 
>  #!/bin/zsh -efv
> make install DESTDIR=/sw/src/fink.build/root-apbs-1.1.0-2
> Making install in contrib
> Making install in maloc
> Making install in src
> Making install in base
> Making install in .
> cp -p ../../src/base/maloc/*.h ../aaa_inc/maloc/.
> make[6]: Nothing to be done for `install-exec-am'.
> make[6]: Nothing to be done for `install-data-am'.
> Making install in vsys
> Making install in .
> cp -p ../../src/vsys/maloc/*.h ../aaa_inc/maloc/.
> make[6]: Nothing to be done for `install-exec-am'.
> make[6]: Nothing to be done for `install-data-am'.
> Making install in vsh
> Making install in .
> cp -p ../../src/vsh/maloc/*.h ../aaa_inc/maloc/.
> make[6]: Nothing to be done for `install-exec-am'.
> make[6]: Nothing to be done for `install-data-am'.
> Making install in psh
> Making install in .
> cp -p ../../src/psh/maloc/*.h ../aaa_inc/maloc/.
> make[6]: Nothing to be done for `install-exec-am'.
> make[6]: Nothing to be done for `install-data-am'.
> Making install in aaa_inc
> Making install in maloc
> Making install in .
> make[7]: Nothing to be done for `install-exec-am'.
> test -z
> "/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc" ||
> mkdir -p -- .
> "/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc"
>  /sw/bin/ginstall -c -m 644 'maloc.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/maloc.h'
>  /sw/bin/ginstall -c -m 644 'maloc_base.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/maloc_base.h'
>  /sw/bin/ginstall -c -m 644 'vsys.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/vsys.h'
>  /sw/bin/ginstall -c -m 644 'vio.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/vio.h'
>  /sw/bin/ginstall -c -m 644 'vmem.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/vmem.h'
>  /sw/bin/ginstall -c -m 644 'vnm.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/vnm.h'
>  /sw/bin/ginstall -c -m 644 'vset.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/vset.h'
>  /sw/bin/ginstall -c -m 644 'vsh.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/vsh.h'
>  /sw/bin/ginstall -c -m 644 'psh.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/psh.h'
>  /sw/bin/ginstall -c -m 644 'vmp.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/vmp.h'
>  /sw/bin/ginstall -c -m 644 'vcom.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/vcom.h'
>  /sw/bin/ginstall -c -m 644 'vmpi.h'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/include/maloc/vmpi.h'
> Making install in .
> make[6]: Nothing to be done for `install-exec-am'.
> make[6]: Nothing to be done for `install-data-am'.
> Making install in aaa_lib
> Making install in .
> test -z "/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/lib/" ||
> mkdir -p -- .
> "/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/lib/"
>  /bin/sh ../../libtool --mode=install /sw/bin/ginstall -c  'libmaloc.la'
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/lib//
> libmaloc.la'
> /sw/bin/ginstall -c .libs/libmaloc.lai
> /sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/lib//
> libmaloc.la
> /sw/bin/ginstall -c .libs/libmaloc.a
> /sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/lib//libmaloc.a
> chmod 644
> /sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/lib//libmaloc.a
> ranlib
> /sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/lib//libmaloc.a
> libtool: install: warning: remember to run `libtool --finish
> /sw/src/fink.build/apbs-1.1.0-2/apbs-1.1.0-source/contrib/lib/'
> make[6]: Nothing to be done for `install-data-am'.
> Making install in .
> make[5]: Nothing to be done for `install-exec-am'.
> make[5]: Nothing to be done for `install-data-am'.
> Making install in .
> make[4]: Nothing to be done for `install-exec-am'.
> make[4]: Nothing to be done for `install-data-am'.
> Making install in pmgZ
> Making install in .
> cp -p ../../src/mg/apbs/*.h ../../src/aaa_inc/apbs/.
> make[4]: Nothing to be done for `install-exec-am'.
> make[4]: Nothing to be done for `install-data-am'.
> Making install in aqua
> Making install in .
> make[4]: Nothing to be done for `install-exec-am'.
> make[4]: Nothing to be done for `install-data-am'.
> Making install in opal
> Making install in ZSI
> Making install in .
> make[5]: Nothing to be done for `install-exec-am'.
> mkdir -p @INSTALL_DIR68545{prefix}/lib/python2.6/site-packages
> /sw/bin/python2.6 setup.py install
> --prefix=/sw/src/fink.build/root-apbs-1.1.0-2/sw
> running install
> Checking .pth file support in
> /sw/src/fink.build/root-apbs-1.1.0-2/sw/lib/python2.6/site-packages/
> error: can't create or remove files in install directory
> 
> The following error occurred while trying to add or remove files in the
> installation directory:
> 
>     [Errno 2] No such file or directory:
> '/sw/src/fink.build/root-apbs-1.1.0-2/sw/lib/python2.6/site-packages/test-easy-install-90234.pth'
> 
> The installation directory you specified (via --install-dir, --prefix, or
> the distutils default setting) was:
> 
>     /sw/src/fink.build/root-apbs-1.1.0-2/sw/lib/python2.6/site-packages/
> 
> This directory does not currently exist.  Please create it and try again, or
> choose a different installation directory (using the -d or --install-dir
> option).
> 
> make[5]: *** [install-data-local] Error 1
> make[4]: *** [install-am] Error 2
> make[3]: *** [install-recursive] Error 1
> make[2]: *** [install-recursive] Error 1
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
> ### execution of /var/tmp/tmp.2.h0L77s failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-apbs-1.1.0-2
> (Reading database ... 123610 files and directories currently installed.)
> Removing fink-buildlock-apbs-1.1.0-2 ...
> Failed: phase installing: apbs-1.1.0-2 failed
> 
> I hope you can help me to solve this issue.
> 
> Thanks in advance,
> 
> Alan
> 
> 

There's something funny going on in the install script.  For one thing,
it's installing files in

/sw/src/fink.build/root-apbs-1.1.0-2/sw/src/fink.build/apbs-1.1.0-2/

I also found the ordering a bit suspect:

make install DESTDIR=%d
rm -Rf **/CVS     # fink validate complains if this junk is left behind.
# rm -Rf **/.svn  # fink validate complains if this junk is left behind.
mkdir -p %i/share/%n
mkdir -p %i/lib

I'd have assumed that we'd want to create those directories before 'make
install'.
- --
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkpzNMMACgkQB8UpO3rKjQ9ATgCeK9rkwdv7mt61pFn/rdc4RRwu
zPEAniLUCPlwooATD+lGYN9Fd+2w6cto
=V8ih
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to