Ah, now it makes sense. Maybe one of the developers had a bad experience with /opt as a child.
Anyway, I managed to build and install the package by adding the -sitelib option to the configure command in fink's info file: CompileScript: << ./configure -mandir %p/share/man -sitelib %p/lib/ocaml/site-lib make all opt << This probably isn't desirable for all installations, but it certainly fixed things in my case. opt/lib/ocaml is now a directory in the .deb file, and my MacBook is now happily continuing with its long list of packages to update. Thanks for all the help, Nick On Fri, Jul 18, 2008 at 6:05 PM, Martin Costabel <[EMAIL PROTECTED]> wrote: > Found it. Rather funny... > > Nicholas Pappas Klingaman wrote: > [] >> >> Perhaps this line shows where things are going wrong? >> test 1 -eq 0 || cp topfind >> /opt/src/fink.build/root-ocaml-findlib-1.1.2-1/opt/lib/ocaml >> >> Since the opt/lib/ocaml directory isn't created (that I can see), the >> build process appears to be copying a file "topfind" to a file "ocaml" >> in opt/lib. Does that make any sense? > > The directory is created 2 lines earlier, in my case by the line > >> mkdir -p >> /sw/src/fink.build/root-ocaml-findlib-1.1.2-1/sw/lib/ocaml/site-lib/findlib > > which in your case looks as follows > >> mkdir -p >> /opt/src/fink.build/root-ocaml-findlib-1.1.2-1/opt/lib/site-lib/findlib > > The reason for this difference is visible here: > >> The directory of site-specific packages will be >> site-lib: /sw/lib/ocaml/site-lib > > (my log) > >> The directory of site-specific packages will be >> site-lib: /opt/lib/site-lib > > (your log) > > and the cause for this difference can be found in the configure script in > the code where site-lib is defined. I don't see any reason why they are > doing this, except for discriminating against people installing their stuff > in /opt/ :-) > >> # Set site-lib directory: >> >> if [ -z "$ocaml_sitelib" ]; then >> case "$ocaml_core_stdlib" in >> /opt/*) ocaml_sitelib=`dirname >> ${ocaml_core_stdlib}`/site-lib >> ;; >> *) ocaml_sitelib="${ocaml_core_stdlib}/site-lib" >> ;; >> esac >> fi > > The package should clearly fix this by removing this crazy distinction. > > -- > Martin > > > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users