* [Caml-list] who are the developpers ?
@ 2004-03-26 7:17 Rakotomandimby Mihamina
2004-03-26 7:33 ` Remi Vanicat
2004-03-26 9:39 ` Olivier Andrieu
0 siblings, 2 replies; 3+ messages in thread
From: Rakotomandimby Mihamina @ 2004-03-26 7:17 UTC (permalink / raw)
To: caml-list
Hello ,
I'm a slackware user and I try to build a package for Slackware .
I saw the Makefile has not an easy structure for that .
- I can build with the prefix=/usr
- If i install with prefix=/package/location/usr , I saw that
/etc/ld.so.conf is appended with /package/location/usr/lib/ocaml , that
is quite "emmerding", because we want it to be appended with
/usr/lib/ocaml ...
So , the needed thing is to create a DESTDIR Makefile variable ( at
least ) and replace all the $BINDIR , $LIBDIR , $MANDIR , ... in the
subdirectories Makefile install targets by $DESTDIR/bin
$DESTDIR/caml/lib ...
The most hard part is to know how much Makefile i have to edit , and to
edit them well .
That would not only help building Slackware package , i think that would
help to ease any other distribution packaging .
So :
-who is going to do the job with me ?
-If we finish the job, who have we got to submit it to ?
Thanks for all.
--
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] who are the developpers ?
2004-03-26 7:17 [Caml-list] who are the developpers ? Rakotomandimby Mihamina
@ 2004-03-26 7:33 ` Remi Vanicat
2004-03-26 9:39 ` Olivier Andrieu
1 sibling, 0 replies; 3+ messages in thread
From: Remi Vanicat @ 2004-03-26 7:33 UTC (permalink / raw)
To: caml-list
Rakotomandimby Mihamina <rktmb.list@wanadoo.fr> writes:
> Hello ,
> I'm a slackware user and I try to build a package for Slackware .
> I saw the Makefile has not an easy structure for that .
> - I can build with the prefix=/usr
> - If i install with prefix=/package/location/usr , I saw that
> /etc/ld.so.conf is appended with /package/location/usr/lib/ocaml ,
> that is quite "emmerding", because we want it to be appended with
> /usr/lib/ocaml ...
>
> So , the needed thing is to create a DESTDIR Makefile variable ( at
> least ) and replace all the $BINDIR , $LIBDIR , $MANDIR , ... in the
> subdirectories Makefile install targets by $DESTDIR/bin
> $DESTDIR/caml/lib ...
[...]
There are already packages (for example the debian one). Why don't you
began there ? those problem have been already solve by Sven Luther,
the debian maintainer.
--
Rémi Vanicat
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] who are the developpers ?
2004-03-26 7:17 [Caml-list] who are the developpers ? Rakotomandimby Mihamina
2004-03-26 7:33 ` Remi Vanicat
@ 2004-03-26 9:39 ` Olivier Andrieu
1 sibling, 0 replies; 3+ messages in thread
From: Olivier Andrieu @ 2004-03-26 9:39 UTC (permalink / raw)
To: Rakotomandimby Mihamina; +Cc: caml-list
Rakotomandimby Mihamina [Friday 26 March 2004] :
>
> Hello ,
> I'm a slackware user and I try to build a package for Slackware .
> I saw the Makefile has not an easy structure for that .
> - I can build with the prefix=/usr
> - If i install with prefix=/package/location/usr , I saw that
> /etc/ld.so.conf is appended with /package/location/usr/lib/ocaml , that
> is quite "emmerding", because we want it to be appended with
> /usr/lib/ocaml ...
>
> So , the needed thing is to create a DESTDIR Makefile variable ( at
> least ) and replace all the $BINDIR , $LIBDIR , $MANDIR , ... in the
> subdirectories Makefile install targets by $DESTDIR/bin
> $DESTDIR/caml/lib ...
>
> The most hard part is to know how much Makefile i have to edit , and to
> edit them well .
There's no need to edit the Makefile:
make install PREFIX=$DESTDIR/usr
and then a sed script :
sed -i -e "s|$DESTDIR||" $DESTDIR/usr/lib/ocaml/ld.conf
That's all ...
--
Olivier
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-26 9:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-26 7:17 [Caml-list] who are the developpers ? Rakotomandimby Mihamina
2004-03-26 7:33 ` Remi Vanicat
2004-03-26 9:39 ` Olivier Andrieu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox