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

Reply via email to