installation on nfs disk

Benoist Laurent benoist at ibpc.fr
Fri Mar 30 07:12:50 PDT 2012


I found a solution to this problem but don't know if it's the good one.
I finally configured using

./configure --prefix=/ibpc/osx/lbt/macport/2.0.4/SL --enable-readline --with-install-user=`id -un` --with-install-group=`id -gn` --with-tcl-package=/ibpc/osx/lbt/macport/2.0.4/SL/share/macports/Tcl --with-no-root-privileges --with-shared-directory

No problem neither with the configuration nor the installation.
No problem with the selfupdate.

First problem with the installation of zlib.
--->  Cleaning zlib
Error: error deleting "/ibpc/osx/lbt/macport/2.0.4/SL/var/macports/logs/_ibpc_osx_lbt_macport_2.0.4_SL_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib": file already exists

Okay, this is not a big issue since in can remove this folder myself but could be a symptom (note that it's fun that it is a problem to delete a file if it already exists!).

Here is the big issue.
When I try to install ncurses (a dependance of many packages) I got this error message.

/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../ncurses -I.   -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I. -I../include -I/ibpc/osx/lbt/macport/2.0.4/SL/include -pipe -O2 -arch x86_64  --param max-inline-insns-single=1200  -no-cpp-precomp -dynamic -c ../ncurses/./tty/hardscroll.c -o ../obj_s/hardscroll.o
In file included from ../ncurses/curses.priv.h:339,
                 from ../ncurses/./tty/hardscroll.c:148:
../include/term_entry.h:54: error: expected specifier-qualifier-list before ‘TERMTYPE’

Since I do not have this error message on my local macports installation, I supposed I misconfigured the NFS installation.


Can anyone help ?

Benoist


Le Mar 30, 2012 à 3:46 PM, Benoist Laurent a écrit :

> Dear all,
> 
> I very affected to post my first message on the macports-users today!
> 
> I'd like to install macports on a nfs disk but I do not succed.
> Here is the configure command I used 
> 
> ./configure --prefix=/ibpc/osx/lbt/macport/2.0.4/SL --enable-readline --with-install-user=`id -un` --with-install-group=`id -gn` --with-tcl-package=/ibpc/osx/lbt/macport/2.0.4/SL/share/macports/Tcl
> 
> And here is the error message I get.
> 
> Warning: No index(es) found! Have you synced your source indexes?
> port registry doesn't exist at "/ibpc/osx/lbt/macport/2.0.4/SL/var/macports/registry/registry.db" and couldn't write to this location
>    while executing
> "registry::open $db_path"
>    (procedure "mportinit" line 563)
>    invoked from within
> "mportinit ui_options"
>    (file "src/images_to_archives.tcl" line 18)
> make: *** [install] Error 1
> 
> 
> I'm supprised because I specify that I should have all the permissions in the configure (--with-install-user and --with-install-group).
> 
> Any idea?
> 
> 
> Thank you in advance.
> Best,
> Benoist
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
> 

-- 
Benoist Laurent
Laboratoire de Biochimie Theorique / CNRS UPR 9080
Institut de Biologie Physico-Chimique
13, rue Pierre et Marie Curie
F-75005 Paris
Tel. +33 [0]1 58 41 51 67 or +33 [0]6 21 64 50 56



More information about the macports-users mailing list