Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
hi there at all,
I'm new here
I'm trying to make latest versions for some packages that I use for DNS-323, DNS-325 and for NSA325v2 that is going to arrive at home in these nest days.
I usually look for any help in the web, forums but when I don't find solutions I need to ask to for them where people could help me.
I think this is the right place, I've seen who are the moderators. I found a lot of helps from there over the net about my troubles or similar.
Anyway also if my trouble should be simple to solve, I haven't had the capabilities to go at the end
I found the solution but the solution doesn't work for me...
I worked hard to start and go ahead in compiling mldonkey for ffp 0.5 and for ffp 0.7 for my DNS-323, I would like to do the same for DNS-325 and for NSA325v2. I needed to compile ocaml 3.12.1 on ffp 0.5 and 0.7 and I would like to compile other packages for every ffp variant.
The helps that I found tell me to modify the "make install" command the DESTDIR=/temporary_ffppackage_build/
someone wrote to type it in this way:
"make install DESTDIR=/temporary_ffppackage_build_uwant/"
and some other in this way:
"DESTDIR=/temporary_ffppackage_build_uwant/ make install"
nobody of them works for me and the output command goes installing the package again into ffp directory
I'm stucked now at this point because I would like to have it working and try the same for mldonkey (that actually stops asking for ocaml
Cold anyone help me about it?
THANKS IN ADVANCE
EDIT 11-01-2014: I finally compiled mldonkey-3.1.3 for DNS-323 as for FFP05 so for FFP07. I wrote it here to let people know it (if they were looking for it) without reading all logs that I putted in this tread. Just need to read if you want know the problem history.
THANKS Mijzelf for support
At this time I compiled all packages with two different DNS-323 one for FFP05 and one for FFP07:
FFP 05:
ocaml-3.08.4-arm-0.tar.gz
ocaml-3.12.0-arm-0.tar.gz
ocaml-3.12.1-arm-0.tar.gz
ocaml-4.01.0-arm-0.tar.gz
mldonkey-3.1.3-arm-nogui_0.tar.gz
FFP 07:
ocaml-3.08.4-oarm-0.tgz
ocaml-3.12.0-oarm-0.tgz
ocaml-3.12.1-oarm-0.tgz
ocaml-3.12.1-oarm-0.txz
ocaml-4.01.0-oarm-0.tgz
mldonkey-3.1.3-oarm-nogui_0.tgz
history:
- After the initially trouble compiling mldonkey, then I tried out all ocaml version packages compiled
- I had trouble compiling ocaml too due to the opions needed and because I regularly forgot to make clean the structure. Finally I found the working options and compiled different ocaml package versions.
- but at that point I wasn't able to compile mldonkey with them installed: the configure stage ALWAYS gone for copiling the ocaml-3.12.0 because couldn't see ocaml installed in my system. I tried installing ocaml in different places without success: configure wanted to have the ocaml installed locally into the mldonkey building directory.
- I finally left the way of installing a ocaml package and tried to tune up the standar mldonkey way.
- I found the lines where "configure" forces to use the ocaml-3.12.0 versione and tried with the latest the ocaml-4.01.0.
All gone right at the fisrt time!! In particular the outputs on the screen were very clean so nice to see
TO LET THE PEOPLE WHO IS LOOKING FOR THIS, TO LET THEM SAVING FOR AWAKE NIGHTS, THESE ARE THE OPTIONS THAT I USED FOR MLDONKEY:
Version: mldonkey 3.1.3
used setting options:
--enable-multinet
--enable-donkey
--enable-bittorrent
--enable-filetp
--enable-directconnect
--enable-fasttrack
used compiling options:
--prefix=/where_you_want/find_the_exec
(but it should be inaccurate here because I don't do a "make install" only a "make command)
--enable-batch
(this option don't ask if you what to compile locally but directly does it)
compiled on a DNS-323 with ffp 0.7
compiled on a DNS-323 with ffp 0.5
others:
setted in /config/configure file forcing the use of ocaml-4.01.0
but I read too late that I should have pass the option:
--enable-ocamlver=VER like --enable-ocamlver=4.01.0 in by case, or --enable-ocamlver=SVN
# make clean
# ./configure --prefix=/mldonkey/mldonkey --exec_prefix=/mldonkey --enable-batch --enable-multinet --enable-donkey --enable-bittorrent --enable-filetp --enable-directconnect --enable-fasttrack
# make
into the mldonkey compiling directory find the mlnet.byte and rename it as you want (this is the mldonkey executable)
#about package names I understood that:
FFP07 wants exactly this package name scheme:
1) the package's files have to be packeged into a "ffp" directory so opening the pkg you have to see ffp and the files have to stay into that directory
2) pkgname-pkgnameversion-hardware-pkgversion.pkgextension (tgz or txz)
so there are 3 separators "-" needed and ".tgz" or ".txz" final package extension (it doesn't work for ".tar.gz")
examples:
mldonkey-3.1.3-oarm-0.tgz
mldonkey-3-arm-myversion1.tgz
mldonkey-3.0.7-oarm-newgui2_latest.txz
FFP05 wants exactly this package name scheme:
1) the package's files have to be packeged into a "ffp" directory so opening the pkg you have to see ffp and the files have to stay into that directory
2) pkgname-pkgnameversion-whatyouwant(hardware) whatyouwant(or not).pkgextension (tar.gz or tgz)
so there are only 2 separators needed "-" and ".tar.gz" or ".tgz" final package extension (it doesn't work for ".txz")
examples:
mldonkey-3.1.3-0.tgz
mldonkey-3-arm-myversion1.tgz
mldonkey-3.0.7-dns323_for_FF05-rev2.tar.gz
LET ME KNOW IF SOMETHING IS WRONG
Last edited by desigabri (2014-01-13 22:57:47)
Offline
That has to do with your makefile. 'make install' just runs the script 'install' which is located in Makefile. And that script does or does not take an environment variable DESTDIR in account. Just have a look in the file if you can inject a destdir some other way.
Another way to solve this is to run
make -n install >script
Make won't execute anything, just print the commands it would execute. So you can edit them, and then run the script.
Offline
if test -d /ffp/bin; then : ; else mkdir -p /ffp/bin; fi
if test -d /ffp/lib/ocaml; then : ; else mkdir -p /ffp/lib/ocaml; fi
if test -d /ffp/lib/ocaml/stublibs; then : ; else mkdir -p /ffp/lib/ocaml/stubli
bs; fi
if test -d /ffp/man/man1; then : ; \
else mkdir -p /ffp/man/man1; fi
cd /ffp/lib/ocaml; rm -f dllbigarray.so dlllabltk.so dllnums.so \
dllthreads.so dllunix.so dllgraphics.so dllmldbm.so dllstr.so \
dlltkanim.so
cd byterun; make install
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/byterun'
cp ocamlrun /ffp/bin/ocamlrun
cp libcamlrun.a /ffp/lib/ocaml/libcamlrun.a
cd /ffp/lib/ocaml; ranlib libcamlrun.a
if test -d /ffp/lib/ocaml/caml; then : ; else mkdir /ffp/lib/ocaml/caml; fi
for i in alloc.h callback.h config.h custom.h fail.h intext.h memory.h misc.h ml
values.h printexc.h signals.h compatibility.h; do \
sed -f ../tools/cleanup-header $i > /ffp/lib/ocaml/caml/$i; \
done
cp ld.conf /ffp/lib/ocaml/ld.conf
if test -f libcamlrun_shared.so; then \
cp libcamlrun_shared.so /ffp/lib/ocaml/libcamlrun_shared.so; fi
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/byterun'
cp ocamlc /ffp/bin/ocamlc
cp ocaml /ffp/bin/ocaml
cd stdlib; make install
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/stdlib'
cp stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader camlheader_ur /ffp/lib/oc
aml
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/stdlib'
cp lex/ocamllex /ffp/bin/ocamllex
cp yacc/ocamlyacc /ffp/bin/ocamlyacc
cp toplevel/toplevellib.cma /ffp/lib/ocaml/toplevellib.cma
cp expunge /ffp/lib/ocaml/expunge
cp typing/outcometree.cmi typing/outcometree.mli /ffp/lib/ocaml
cp toplevel/topstart.cmo /ffp/lib/ocaml
cp toplevel/toploop.cmi toplevel/topdirs.cmi toplevel/topmain.cmi \
/ffp/lib/ocaml
cd tools; make install
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/tools'
cp ocamldep /ffp/bin/ocamldep
if test -f ocamldep.opt; \
then cp ocamldep.opt /ffp/bin/ocamldep.opt; else :; fi
cp ocamlprof /ffp/bin/ocamlprof
cp ocamlcp /ffp/bin/ocamlcp
cp profiling.cmi profiling.cmo /ffp/lib/ocaml
cp ocamlmklib /ffp/bin/ocamlmklib
cp ocamlmktop /ffp/bin/ # no here, ocamlmktop is a script
cp objinfo /ffp/bin/ocamlobjinfo
cp objinfo_helper /ffp/lib/ocaml/objinfo_helper
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/tools'
cd man; make install
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/man'
for i in *.m; do cp $i /ffp/man/man1/`basename $i .m`.1; done
echo '.so man1/ocamlc.1' > /ffp/man/man1/ocamlc.opt.1
echo '.so man1/ocamlopt.1' > /ffp/man/man1/ocamlopt.opt.1
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/man'
for i in unix str num dynlink bigarray systhreads threads; do \
(cd otherlibs/$i; make install) || exit $?; \
done
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/unix'
if test -f dllunix.so; then \
cp dllunix.so /ffp/lib/ocaml/stublibs/; fi
cp libunix.a /ffp/lib/ocaml/
cd /ffp/lib/ocaml; ranlib libunix.a
cp unix.cma unix.cmi unixLabels.cmi unix.mli unixLabels.mli /ffp/lib/ocaml/
if test -n "unixsupport.h socketaddr.h"; then cp unixsupport.h socketaddr.h /ffp
/lib/ocaml/caml/; fi
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/unix'
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/str'
if test -f dllcamlstr.so; then \
cp dllcamlstr.so /ffp/lib/ocaml/stublibs/; fi
cp libcamlstr.a /ffp/lib/ocaml/
cd /ffp/lib/ocaml; ranlib libcamlstr.a
cp str.cma str.cmi str.mli /ffp/lib/ocaml/
if test -n ""; then cp /ffp/lib/ocaml/caml/; fi
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/str'
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/num'
if test -f dllnums.so; then \
cp dllnums.so /ffp/lib/ocaml/stublibs/; fi
cp libnums.a /ffp/lib/ocaml/
cd /ffp/lib/ocaml; ranlib libnums.a
cp nums.cma big_int.cmi nat.cmi num.cmi ratio.cmi arith_status.cmi big_int.mli n
at.mli num.mli ratio.mli arith_status.mli /ffp/lib/ocaml/
if test -n ""; then cp /ffp/lib/ocaml/caml/; fi
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/num'
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/dynlink'
cp dynlink.cmi dynlink.cma dynlink.mli /ffp/lib/ocaml
cp extract_crc /ffp/lib/ocaml/extract_crc
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/dynlink'
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/bigarray'
if test -f dllbigarray.so; then \
cp dllbigarray.so /ffp/lib/ocaml/stublibs/; fi
cp libbigarray.a /ffp/lib/ocaml/
cd /ffp/lib/ocaml; ranlib libbigarray.a
cp bigarray.cma bigarray.cmi bigarray.mli /ffp/lib/ocaml/
if test -n "bigarray.h"; then cp bigarray.h /ffp/lib/ocaml/caml/; fi
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/bigarray'
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/systhreads'
if test -f dllthreads.so; then cp dllthreads.so /ffp/lib/ocaml/stublibs/dllthrea
ds.so; fi
cp libthreads.a /ffp/lib/ocaml/libthreads.a
cd /ffp/lib/ocaml; ranlib libthreads.a
if test -d /ffp/lib/ocaml/threads; then :; else mkdir /ffp/lib/ocaml/threads; fi
cp thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi threads.cma /ffp/
lib/ocaml/threads
rm -f /ffp/lib/ocaml/threads/stdlib.cma
cp thread.mli mutex.mli condition.mli event.mli threadUnix.mli /ffp/lib/ocaml
cp threads.h /ffp/lib/ocaml/caml/threads.h
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/systhreads'
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/threads'
if test -f dllvmthreads.so; then cp dllvmthreads.so /ffp/lib/ocaml/stublibs/.; f
i
mkdir -p /ffp/lib/ocaml/vmthreads
cp libvmthreads.a /ffp/lib/ocaml/vmthreads/libvmthreads.a
cd /ffp/lib/ocaml/vmthreads; ranlib libvmthreads.a
cp thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi threads.cma stdli
b.cma unix.cma /ffp/lib/ocaml/vmthreads
cp thread.mli mutex.mli condition.mli event.mli threadUnix.mli /ffp/lib/ocaml/vm
threads
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/threads'
cd ocamldoc; make install
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/ocamldoc'
if test -d /ffp/bin; then : ; else mkdir -p /ffp/bin; fi
if test -d /ffp/lib/ocaml/ocamldoc; then : ; else mkdir -p /ffp/lib/ocaml/ocamld
oc; fi
if test -d /ffp/lib/ocaml/ocamldoc/custom; then : ; else mkdir -p /ffp/lib/ocaml
/ocamldoc/custom; fi
cp -f ocamldoc /ffp/bin/ocamldoc
cp -f ocamldoc.hva *.cmi odoc_info.cma /ffp/lib/ocaml/ocamldoc
cp -f odoc_info.mli odoc_info.cmi /ffp/lib/ocaml/ocamldoc
if test -d /ffp/man/man3; then : ; else mkdir -p /ffp/man/man3; fi
if test -d stdlib_man; then cp -f stdlib_man/* /ffp/man/man3; else : ; fi
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/ocamldoc'
if test -f ocamlopt; then make installopt; else :; fi
if test -f debugger/ocamldebug; then (cd debugger; make install); \
else :; fi
make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/debugger'
cp ocamldebug /ffp/bin/ocamldebug
make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/debugger'
cp config/Makefile /ffp/lib/ocaml/Makefile.config
BINDIR=/ffp/bin LIBDIR=/ffp/lib/ocaml PREFIX=/ffp \
./build/partial-install.sh
Offline
this is its output, then should I simple change "/ffp/" with another "/wanted/" to have all the tree with files copied there? I thing this except for the last line with BINDIR that is what I used during "./configure" phase?
there are some lines like "make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/debugger' " that seems to be a title not a command line because they tell they are going to change directory but they lack the command to do that. Have I to substitute those lines with a command doing what they are presenting?
In which way I'll execute this script? Have I to use it just like a script? So Have I to forget the "make install" command and run this script only to ricreate the package tree to successively package?
thanks in advance
######################################################################################
EDIT: no, I tried in this way it doesn't work.
----------------------------------------------------------------------------------------
./pkg.sh: line 4: bs: not found
./pkg.sh: cd: line 10: can't cd to byterun
make: *** No rule to make target `install'. Stop.
./pkg.sh: line 23: make[1]:: not found
cp: can't stat 'ocamlc': No such file or directory
cp: can't stat 'ocaml': No such file or directory
./pkg.sh: cd: line 26: can't cd to stdlib
make: *** No rule to make target `install'. Stop.
./pkg.sh: line 30: make[1]:: not found
cp: can't stat 'lex/ocamllex': No such file or directory
cp: can't stat 'yacc/ocamlyacc': No such file or directory
cp: can't stat 'toplevel/toplevellib.cma': No such file or directory
cp: can't stat 'expunge': No such file or directory
cp: can't stat 'typing/outcometree.cmi': No such file or directory
cp: can't stat 'typing/outcometree.mli': No such file or directory
cp: can't stat 'toplevel/topstart.cmo': No such file or directory
cp: can't stat 'toplevel/toploop.cmi': No such file or directory
cp: can't stat 'toplevel/topdirs.cmi': No such file or directory
cp: can't stat 'toplevel/topmain.cmi': No such file or directory
./pkg.sh: cd: line 39: can't cd to tools
make: *** No rule to make target `install'. Stop.
./pkg.sh: line 51: make[1]:: not found
./pkg.sh: cd: line 52: can't cd to man
make: *** No rule to make target `install'. Stop.
./pkg.sh: line 57: make[1]:: not found
./pkg.sh: cd: line 60: can't cd to otherlibs/unix
make: *** No rule to make target `install'. Stop.
-----------------------------------------------------------------------------------------
I'm going to try editing the makefile...
########################################################################################
EDIT:
this is the ISTALLATION SECTION in the makefile:
--------------------------------------------------------------------------------------------
# Installation
install:
if test -d $(BINDIR); then : ; else $(MKDIR) $(BINDIR); fi
if test -d $(LIBDIR); then : ; else $(MKDIR) $(LIBDIR); fi
if test -d $(STUBLIBDIR); then : ; else $(MKDIR) $(STUBLIBDIR); fi
if test -d $(MANDIR)/man$(MANEXT); then : ; \
else $(MKDIR) $(MANDIR)/man$(MANEXT); fi
cd $(LIBDIR); rm -f dllbigarray.so dlllabltk.so dllnums.so \
dllthreads.so dllunix.so dllgraphics.so dllmldbm.so dllstr.so \
dlltkanim.so
cd byterun; $(MAKE) install
cp ocamlc $(BINDIR)/ocamlc$(EXE)
cp ocaml $(BINDIR)/ocaml$(EXE)
cd stdlib; $(MAKE) install
cp lex/ocamllex $(BINDIR)/ocamllex$(EXE)
cp yacc/ocamlyacc$(EXE) $(BINDIR)/ocamlyacc$(EXE)
cp toplevel/toplevellib.cma $(LIBDIR)/toplevellib.cma
cp expunge $(LIBDIR)/expunge$(EXE)
cp typing/outcometree.cmi typing/outcometree.mli $(LIBDIR)
cp toplevel/topstart.cmo $(LIBDIR)
cp toplevel/toploop.cmi toplevel/topdirs.cmi toplevel/topmain.cmi \
$(LIBDIR)
cd tools; $(MAKE) install
-cd man; $(MAKE) install
for i in $(OTHERLIBRARIES); do \
(cd otherlibs/$$i; $(MAKE) install) || exit $$?; \
done
cd ocamldoc; $(MAKE) install
if test -f ocamlopt; then $(MAKE) installopt; else :; fi
if test -f debugger/ocamldebug; then (cd debugger; $(MAKE) install); \
else :; fi
cp config/Makefile $(LIBDIR)/Makefile.config
BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) PREFIX=$(PREFIX) \
./build/partial-install.sh
---------------------------------------------------------------------------------------------------
but...the $(PREFIX) variable is setted in my case through the ./configure command and the same is for low level dirs into $(PREFIX) like $(BINDIR) or $(LIBDIR).
more then this I should edit also the "makefile" into the subdirectories (like cd tools; $(MAKE) install)?
could it be simpler change the variables before execute the MAKE INSTALL command? Are these variable stored in memory? and write a script that read those variables, then save them into new variables and change the involved variables before executing make install and automatically set back those variables to the original value?
example:
------------------------------------------------------
#start script
#save variables
EXPREFIX=$(PREFIX)
EXBINDIR=$(BINDIR)
EXLIBDIR=$(LIBDIR)
EXMANDIR=$(MANDIR)
#set newer prefix and newer dirtrees
PREFIX=$1
BINDIR=$(PREFIX)/BIN
LIBDIR=$(PREFIX)/LIB
MANDIR=$(PREFIX)/MAN
#execute "make install" unmodified
make install
#set back varibles in memory
PREFIX=$(EXPREFIX)
BINDIR=$(EXBINDIR)
LIBDIR=$(EXLIBDIR)
MANDIR=$(EXMANDIR)
#end script
------------------------------------------------------------
Last edited by desigabri (2014-01-06 04:18:19)
Offline
just because I don't want you think that I didn't try your ways:
I edited the script (coming from the "make -n install >script" command) putting into it the correct directories I wanted and tried obtaining some results, BUT I'm not sure all files needed have been copied in the destination directory:
-------------------------------------------------------------------------------
if test -d /mnt/sda4/pkgbuild/ocaml/bin; then : ; else mkdir -p /mnt/sda4/pkgbuild/ocaml/bin; fi
if test -d /mnt/sda4/pkgbuild/ocaml/lib/ocaml; then : ; else mkdir -p /mnt/sda4/pkgbuild/ocaml/lib/ocaml; fi
if test -d /mnt/sda4/pkgbuild/ocaml/lib/ocaml/stublibs; then : ; else mkdir -p /mnt/sda4/pkgbuild/ocaml/lib/ocaml/stublibs; fi
if test -d /mnt/sda4/pkgbuild/ocaml/man/man1; then : ; \
else mkdir -p /mnt/sda4/pkgbuild/ocaml/man/man1; fi
cd /mnt/sda4/pkgbuild/ocaml/lib/ocaml; rm -f dllbigarray.so dlllabltk.so dllnums.so \
dllthreads.so dllunix.so dllgraphics.so dllmldbm.so dllstr.so \
dlltkanim.so
cd /mnt/sda4/build/ocaml-3.12.1/byterun
#make install
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/byterun'
cp ocamlrun /mnt/sda4/pkgbuild/ocaml/bin/ocamlrun
cp libcamlrun.a /mnt/sda4/pkgbuild/ocaml/lib/ocaml/libcamlrun.a
cd /mnt/sda4/pkgbuild/ocaml/lib/ocaml; ranlib libcamlrun.a
if test -d /mnt/sda4/pkgbuild/ocaml/lib/ocaml/caml; then : ; else mkdir /mnt/sda4/pkgbuild/ocaml/lib/ocaml/caml; fi
for i in alloc.h callback.h config.h custom.h fail.h intext.h memory.h misc.h mlvalues.h printexc.h signals.h compatibility.h; do \
sed -f ../tools/cleanup-header $i > /mnt/sda4/pkgbuild/ocaml/lib/ocaml/caml/$i; \
done
cp ld.conf /mnt/sda4/pkgbuild/ocaml/lib/ocaml/ld.conf
if test -f libcamlrun_shared.so; then \
cp libcamlrun_shared.so /mnt/sda4/pkgbuild/ocaml/lib/ocaml/libcamlrun_shared.so; fi
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/byterun'
cd ..
cp ocamlc /mnt/sda4/pkgbuild/ocaml/bin/ocamlc
cp ocaml /mnt/sda4/pkgbuild/ocaml/bin/ocaml
cd /mnt/sda4/build/ocaml-3.12.1/stdlib
#make install
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/stdlib'
cp stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader camlheader_ur /mnt/sda4/pkgbuild/ocaml/lib/ocaml
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/stdlib'
cd ..
cp lex/ocamllex /mnt/sda4/pkgbuild/ocaml/bin/ocamllex
cp yacc/ocamlyacc /mnt/sda4/pkgbuild/ocaml/bin/ocamlyacc
cp toplevel/toplevellib.cma /mnt/sda4/pkgbuild/ocaml/lib/ocaml/toplevellib.cma
cp expunge /mnt/sda4/pkgbuild/ocaml/lib/ocaml/expunge
cp typing/outcometree.cmi typing/outcometree.mli /mnt/sda4/pkgbuild/ocaml/lib/ocaml
cp toplevel/topstart.cmo /mnt/sda4/pkgbuild/ocaml/lib/ocaml
cp toplevel/toploop.cmi toplevel/topdirs.cmi toplevel/topmain.cmi \
/mnt/sda4/pkgbuild/ocaml/lib/ocaml
cd /mnt/sda4/build/ocaml-3.12.1/tools
#make install
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/tools'
cp ocamldep /mnt/sda4/pkgbuild/ocaml/bin/ocamldep
if test -f ocamldep.opt; \
then cp ocamldep.opt /mnt/sda4/pkgbuild/ocaml/bin/ocamldep.opt; else :; fi
cp ocamlprof /mnt/sda4/pkgbuild/ocaml/bin/ocamlprof
cp ocamlcp /mnt/sda4/pkgbuild/ocaml/bin/ocamlcp
cp profiling.cmi profiling.cmo /mnt/sda4/pkgbuild/ocaml/lib/ocaml
cp ocamlmklib /mnt/sda4/pkgbuild/ocaml/bin/ocamlmklib
cp ocamlmktop /mnt/sda4/pkgbuild/ocaml/bin/ # no here, ocamlmktop is a script
cp objinfo /mnt/sda4/pkgbuild/ocaml/bin/ocamlobjinfo
cp objinfo_helper /mnt/sda4/pkgbuild/ocaml/lib/ocaml/objinfo_helper
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/tools'
cd ..
cd /mnt/sda4/build/ocaml-3.12.1/man
#make install
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/man'
for i in *.m; do cp $i /mnt/sda4/pkgbuild/ocaml/man/man1/`basename $i .m`.1; done
echo '.so man1/ocamlc.1' > /mnt/sda4/pkgbuild/ocaml/man/man1/ocamlc.opt.1
echo '.so man1/ocamlopt.1' > /mnt/sda4/pkgbuild/ocaml/man/man1/ocamlopt.opt.1
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/man'
cd ..
#for i in unix str num dynlink bigarray systhreads threads; do \
# (cd otherlibs/$i; make install) || exit $?; \
# done
cd /mnt/sda4/build/ocaml-3.12.1/otherlibs/unix
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/unix'
if test -f dllunix.so; then \
cp dllunix.so /mnt/sda4/pkgbuild/ocaml/lib/ocaml/stublibs/; fi
cp libunix.a /mnt/sda4/pkgbuild/ocaml/lib/ocaml/
cd /mnt/sda4/pkgbuild/ocaml/lib/ocaml; ranlib libunix.a
cp unix.cma unix.cmi unixLabels.cmi unix.mli unixLabels.mli /mnt/sda4/pkgbuild/ocaml/lib/ocaml/
if test -n "unixsupport.h socketaddr.h"; then cp unixsupport.h socketaddr.h /mnt/sda4/pkgbuild/ocaml/lib/ocaml/caml/; fi
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/unix'
cd /mnt/sda4/build/ocaml-3.12.1/otherlibs/str
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/str'
if test -f dllcamlstr.so; then \
cp dllcamlstr.so /mnt/sda4/pkgbuild/ocaml/lib/ocaml/stublibs/; fi
cp libcamlstr.a /mnt/sda4/pkgbuild/ocaml/lib/ocaml/
cd /mnt/sda4/pkgbuild/ocaml/lib/ocaml; ranlib libcamlstr.a
cp str.cma str.cmi str.mli /mnt/sda4/pkgbuild/ocaml/lib/ocaml/
if test -n ""; then cp /mnt/sda4/pkgbuild/ocaml/lib/ocaml/caml/; fi
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/str'
cd /mnt/sda4/build/ocaml-3.12.1/otherlibs/num
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/num'
if test -f dllnums.so; then \
cp dllnums.so /mnt/sda4/pkgbuild/ocaml/lib/ocaml/stublibs/; fi
cp libnums.a /mnt/sda4/pkgbuild/ocaml/lib/ocaml/
cd /mnt/sda4/pkgbuild/ocaml/lib/ocaml; ranlib libnums.a
cp nums.cma big_int.cmi nat.cmi num.cmi ratio.cmi arith_status.cmi big_int.mli nat.mli num.mli ratio.mli arith_status.mli /mnt/sda4/pkgbuild/ocaml/lib/ocaml/
if test -n ""; then cp /mnt/sda4/pkgbuild/ocaml/lib/ocaml/caml/; fi
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/num'
cd /mnt/sda4/build/ocaml-3.12.1/otherlibs/dynlink
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/dynlink'
cp dynlink.cmi dynlink.cma dynlink.mli /mnt/sda4/pkgbuild/ocaml/lib/ocaml
cp extract_crc /mnt/sda4/pkgbuild/ocaml/lib/ocaml/extract_crc
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/dynlink'
cd /mnt/sda4/build/ocaml-3.12.1/otherlibs/bigarray
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/bigarray'
if test -f dllbigarray.so; then \
cp dllbigarray.so /mnt/sda4/pkgbuild/ocaml/lib/ocaml/stublibs/; fi
cp libbigarray.a /mnt/sda4/pkgbuild/ocaml/lib/ocaml/
cd /mnt/sda4/pkgbuild/ocaml/lib/ocaml; ranlib libbigarray.a
cp bigarray.cma bigarray.cmi bigarray.mli /mnt/sda4/pkgbuild/ocaml/lib/ocaml/
if test -n "bigarray.h"; then cp bigarray.h /mnt/sda4/pkgbuild/ocaml/lib/ocaml/caml/; fi
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/bigarray'
cd /mnt/sda4/build/ocaml-3.12.1/otherlibs/systhreads
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/systhreads'
if test -f dllthreads.so; then cp dllthreads.so /mnt/sda4/pkgbuild/ocaml/lib/ocaml/stublibs/dllthreads.so; fi
cp libthreads.a /mnt/sda4/pkgbuild/ocaml/lib/ocaml/libthreads.a
cd /mnt/sda4/pkgbuild/ocaml/lib/ocaml; ranlib libthreads.a
if test -d /mnt/sda4/pkgbuild/ocaml/lib/ocaml/threads; then :; else mkdir /mnt/sda4/pkgbuild/ocaml/lib/ocaml/threads; fi
cp thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi threads.cma /mnt/sda4/pkgbuild/ocaml/lib/ocaml/threads
rm -f /mnt/sda4/pkgbuild/ocaml/lib/ocaml/threads/stdlib.cma
cp thread.mli mutex.mli condition.mli event.mli threadUnix.mli /mnt/sda4/pkgbuild/ocaml/lib/ocaml
cp threads.h /mnt/sda4/pkgbuild/ocaml/lib/ocaml/caml/threads.h
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/systhreads'
cd /mnt/sda4/build/ocaml-3.12.1/otherlibs/threads
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/threads'
if test -f dllvmthreads.so; then cp dllvmthreads.so /mnt/sda4/pkgbuild/ocaml/lib/ocaml/stublibs/.; fi
mkdir -p /mnt/sda4/pkgbuild/ocaml/lib/ocaml/vmthreads
cp libvmthreads.a /mnt/sda4/pkgbuild/ocaml/lib/ocaml/vmthreads/libvmthreads.a
cd /mnt/sda4/pkgbuild/ocaml/lib/ocaml/vmthreads; ranlib libvmthreads.a
cp thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi threads.cma stdlib.cma unix.cma /mnt/sda4/pkgbuild/ocaml/lib/ocaml/vmthreads
cp thread.mli mutex.mli condition.mli event.mli threadUnix.mli /mnt/sda4/pkgbuild/ocaml/lib/ocaml/vmthreads
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/otherlibs/threads'
cd ../..
cd /mnt/sda4/build/ocaml-3.12.1/ocamldoc
# make install
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/ocamldoc'
if test -d /mnt/sda4/pkgbuild/ocaml/bin; then : ; else mkdir -p /mnt/sda4/pkgbuild/ocaml/bin; fi
if test -d /mnt/sda4/pkgbuild/ocaml/lib/ocaml/ocamldoc; then : ; else mkdir -p /mnt/sda4/pkgbuild/ocaml/lib/ocaml/ocamldoc; fi
if test -d /mnt/sda4/pkgbuild/ocaml/lib/ocaml/ocamldoc/custom; then : ; else mkdir -p /mnt/sda4/pkgbuild/ocaml/lib/ocaml/ocamldoc/custom; fi
cp -f ocamldoc /mnt/sda4/pkgbuild/ocaml/bin/ocamldoc
cp -f ocamldoc.hva *.cmi odoc_info.cma /mnt/sda4/pkgbuild/ocaml/lib/ocaml/ocamldoc
cp -f odoc_info.mli odoc_info.cmi /mnt/sda4/pkgbuild/ocaml/lib/ocaml/ocamldoc
if test -d /mnt/sda4/pkgbuild/ocaml/man/man3; then : ; else mkdir -p /mnt/sda4/pkgbuild/ocaml/man/man3; fi
if test -d stdlib_man; then cp -f stdlib_man/* /mnt/sda4/pkgbuild/ocaml/man/man3; else : ; fi
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/ocamldoc'
cd ..
#if test -f ocamlopt; then make installopt; else :; fi
#if test -f debugger/ocamldebug; then (cd debugger; make install); \
# else :; fi
cd /mnt/sda4/build/ocaml-3.12.1/debugger
#make install
#make[1]: Entering directory `/mnt/sda4/build/ocaml-3.12.1/debugger'
cp ocamldebug /mnt/sda4/pkgbuild/ocaml/bin/ocamldebug
#make[1]: Leaving directory `/mnt/sda4/build/ocaml-3.12.1/debugger'
cd ..
cp config/Makefile /mnt/sda4/pkgbuild/ocaml/lib/ocaml/Makefile.config
BINDIR=/ffp/bin LIBDIR=/ffp/lib/ocaml PREFIX=/ffp \
./build/partial-install.sh
-----------------------------------------------------------------------------------------------
the output was:
-----------------------------------------------------------------------------------------------
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
sed: can't open '../tools/cleanup-header': No such file or directory
cp: can't stat 'ld.conf': No such file or directory
cp: can't stat 'ocamlc': No such file or directory
cp: omitting directory 'ocaml'
cp: can't stat 'unix.cma': No such file or directory
cp: can't stat 'unix.cmi': No such file or directory
cp: can't stat 'unixLabels.cmi': No such file or directory
cp: can't stat 'unix.mli': No such file or directory
cp: can't stat 'unixLabels.mli': No such file or directory
cp: can't stat 'unixsupport.h': No such file or directory
cp: can't stat 'socketaddr.h': No such file or directory
cp: can't stat 'str.cma': No such file or directory
cp: can't stat 'str.cmi': No such file or directory
cp: can't stat 'str.mli': No such file or directory
cp: can't stat 'nums.cma': No such file or directory
cp: can't stat 'big_int.cmi': No such file or directory
cp: can't stat 'nat.cmi': No such file or directory
cp: can't stat 'num.cmi': No such file or directory
cp: can't stat 'ratio.cmi': No such file or directory
cp: can't stat 'arith_status.cmi': No such file or directory
cp: can't stat 'big_int.mli': No such file or directory
cp: can't stat 'nat.mli': No such file or directory
cp: can't stat 'num.mli': No such file or directory
cp: can't stat 'ratio.mli': No such file or directory
cp: can't stat 'arith_status.mli': No such file or directory
cp: can't stat 'bigarray.cma': No such file or directory
cp: can't stat 'bigarray.cmi': No such file or directory
cp: can't stat 'bigarray.mli': No such file or directory
cp: can't stat 'bigarray.h': No such file or directory
cp: can't stat 'thread.cmi': No such file or directory
cp: can't stat 'mutex.cmi': No such file or directory
cp: can't stat 'condition.cmi': No such file or directory
cp: can't stat 'event.cmi': No such file or directory
cp: can't stat 'threadUnix.cmi': No such file or directory
cp: can't stat 'threads.cma': No such file or directory
cp: can't stat 'thread.mli': No such file or directory
cp: can't stat 'mutex.mli': No such file or directory
cp: can't stat 'condition.mli': No such file or directory
cp: can't stat 'event.mli': No such file or directory
cp: can't stat 'threadUnix.mli': No such file or directory
cp: can't stat 'threads.h': No such file or directory
cp: can't stat 'thread.cmi': No such file or directory
cp: can't stat 'mutex.cmi': No such file or directory
cp: can't stat 'condition.cmi': No such file or directory
cp: can't stat 'event.cmi': No such file or directory
cp: can't stat 'threadUnix.cmi': No such file or directory
cp: can't stat 'threads.cma': No such file or directory
cp: can't stat 'stdlib.cma': No such file or directory
cp: can't stat 'unix.cma': No such file or directory
cp: can't stat 'thread.mli': No such file or directory
cp: can't stat 'mutex.mli': No such file or directory
cp: can't stat 'condition.mli': No such file or directory
cp: can't stat 'event.mli': No such file or directory
cp: can't stat 'threadUnix.mli': No such file or directory
Installing camlp4...
install binary /ffp/bin/camlp4prof
install binary /ffp/bin/mkcamlp4
install binary /ffp/bin/camlp4
install binary /ffp/bin/camlp4boot
install binary /ffp/bin/camlp4o
install binary /ffp/bin/camlp4of
install binary /ffp/bin/camlp4oof
install binary /ffp/bin/camlp4orf
install binary /ffp/bin/camlp4r
install binary /ffp/bin/camlp4rf
don't install camlp4/camlp4o.native
don't install camlp4/camlp4of.native
don't install camlp4/camlp4oof.native
don't install camlp4/camlp4orf.native
don't install camlp4/camlp4r.native
don't install camlp4/camlp4rf.native
Installing Camlp4Parsers...
don't install Camlp4Parsers/*.o
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4AstLoader.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4AstLoader.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4DebugParser.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4DebugParser.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4GrammarParser.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4ListComprehension.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4MacroParser.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4MacroParser.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpand
er.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpand
er.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParser.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpande
r.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpande
r.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmo
Installing Camlp4Printers...
don't install Camlp4Printers/*.o
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4AstDumper.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4AstDumper.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4AutoPrinter.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4AutoPrinter.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4NullDumper.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4NullDumper.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmo
Installing Camlp4Filters...
don't install Camlp4Filters/*.o
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4AstLifter.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4AstLifter.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4FoldGenerator.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4FoldGenerator.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4LocationStripper.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4LocationStripper.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4MapGenerator.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4MapGenerator.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4MetaGenerator.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4Profiler.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4Profiler.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4TrashRemover.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Filters/Camlp4TrashRemover.cmo
Installing Camlp4Top...
don't install Camlp4Top/*.o
install /ffp/lib/ocaml/camlp4/Camlp4Top/Rprint.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Top/Rprint.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Top/Top.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Top/Top.cmo
don't install camlp4lib.cmxa
don't install camlp4fulllib.cmxa
don't install Camlp4Bin.o
don't install camlp4prof.o
install /ffp/lib/ocaml/camlp4/camlp4lib.cma
install /ffp/lib/ocaml/camlp4/Camlp4.cmi
install /ffp/lib/ocaml/camlp4/camlp4fulllib.cma
install /ffp/lib/ocaml/camlp4/camlp4o.cma
install /ffp/lib/ocaml/camlp4/camlp4of.cma
install /ffp/lib/ocaml/camlp4/camlp4oof.cma
install /ffp/lib/ocaml/camlp4/camlp4orf.cma
install /ffp/lib/ocaml/camlp4/camlp4r.cma
install /ffp/lib/ocaml/camlp4/camlp4rf.cma
install /ffp/lib/ocaml/camlp4/Camlp4Bin.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Bin.cmo
install /ffp/lib/ocaml/camlp4/Camlp4Top.cmi
install /ffp/lib/ocaml/camlp4/Camlp4Top.cmo
install /ffp/lib/ocaml/camlp4/Camlp4_config.cmi
install /ffp/lib/ocaml/camlp4/camlp4prof.cmi
install /ffp/lib/ocaml/camlp4/camlp4prof.cmo
install /ffp/lib/ocaml/camlp4/Camlp4_import.cmi
don't install camlp4lib.a
don't install camlp4fulllib.a
Installing ocamlbuild...
install binary /ffp/bin/ocamlbuild.byte
don't install ocamlbuild.native
install binary /ffp/bin/ocamlbuild (with ocamlbuild.byte)
don't install ocamlbuildlib.a
don't install ocamlbuildlib.cmxa
don't install ocamlbuild_unix_plugin.cmx
don't install ocamlbuild_unix_plugin.o
don't install ocamlbuild_executor.cmx
don't install ocamlbuild_executor.o
don't install ocamlbuild.cmx
don't install ocamlbuild.o
install /ffp/lib/ocaml/ocamlbuild/ocamlbuildlib.cma
install /ffp/lib/ocaml/ocamlbuild/ocamlbuild_plugin.cmi
install /ffp/lib/ocaml/ocamlbuild/ocamlbuild_pack.cmi
install /ffp/lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmi
install /ffp/lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmo
install /ffp/lib/ocaml/ocamlbuild/ocamlbuild_executor.cmi
install /ffp/lib/ocaml/ocamlbuild/ocamlbuild_executor.cmo
install /ffp/lib/ocaml/ocamlbuild/ocamlbuild.cmo
install /ffp/man/man1/ocamlbuild.1
#
------------------------------------------------------------------------------------------------------
working in progress... please if you can get an help to me like guidelines to go throug I'll be gratifull
Last edited by desigabri (2014-01-06 17:58:52)
Offline
I cannot explain your sed errors, but at least if this worked it wouldn't create a usable ffp package, as you omitted the /ffp/ part.
I think you should just find&replace /ffp by ${DESTDIR}/ffp, and then put a 'DESTDIR=/whatever/you/want' on the first line.
BTW, I moved the topic, as AFAIK the dsm-g600 is the only NAS in this forum which can not run FFP.
Offline
Hi, finally I got the packages, but now I have the same problems that other customers have, about the impossibility to install those packages
At this time I made for DNS-323:
ocaml-3.12.1-oabi-mod.tzg for --> ffp 0.5 obtained editing the makefiles to have a new make option (pckbuild) to install the files in a dedicated destination (so install for "make installation" and "make pckbuil" for create a package)
ocaml-3.12.1-oab.tzg for --> ffp 0.5 obtained setting the prefix pointing to a dedicated destination (needs to execute .configure again for changes) this way produce files that into them points to the prefix directory so I don't know if they'll be installed into ffp directory when the package will work.
ocaml-3.12.1-oabi-script.tzg for --> ffp 0.5 --> obtained editing the script obtained from "make -n install >script" and executing it
ocaml-3.12.1-oarm-mod.tzg for --> ffp 0.7 obtained editing the makefiles to have a new make option (pckbuild) to install the files in a dedicated destination (so install for "make installation" and "make pckbuil" for create a package)
they are all differents: different number of files so I don't know if they are right
It was late yesterday to look for try again to have them working: the googled solution didn't worked and the ones found into this forum the same
EDIT 11-01-2014: I finally compiled mldonkey-3.1.3 for DNS-323 as for FFP05 so for FFP07. I wrote it here to let people know it (if they were looking for it)
CLOSED QUESTION: read the starting post completed with the last edit for finally solution and the others for the problems.
THANKS again Mijzelf for support
Last edited by desigabri (2014-01-11 16:43:08)
Offline