[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

still trying to pack a .deb



hi *
so after reading also java-policy and something from
http://pkg-java.alioth.debian.org/ the report is:

i've a directory imagej-1.30s where i've:

   4 drwxrwxr-x   10 paolo        4096 2003-08-12 15:32 source
   4 -rw-r--r--    1 paolo         224 2003-08-12 12:25 microscope.png
   4 -rw-r--r--    1 paolo          25 2003-08-08 14:26 MANIFEST.MF
   4 -rw-r--r--    1 paolo        1190 2003-08-12 15:58 Makefile
   4 drwxr-xr-x    2 paolo        4096 2003-08-12 15:59 jars
   4 drwxr-xr-x    6 paolo        4096 2003-08-12 16:12 ImageJ_Docs
   4 -rwxr-xr-x    1 paolo         187 2003-08-12 16:19 imagej
  16 -rw-r--r--    1 paolo       13574 2003-08-08 14:26 IJ_Props.txt
   4 drwxr-xr-x    3 paolo        4096 2003-08-12 15:59 debian
   4 -rw-r--r--    1 paolo         918 2003-08-08 14:26 aREADME.txt

1. source directory contains all .java
2. Makefile was adapted from jmol (but i've to understand more)
3. jars directory there is the ij.jar (the program ImageJ)
4. ImageJ_Docs contain html pdf and so on
5. imagej is a file with: $command -jar /usr/share/java/ij.jar
6. IJ_Props.txt is a configuration file that ImageJ read launching
7. debian is the obvious dir

i've modified the necessary files in debian/ but i continue to have some
doubt on the Makefile, build.xml and rules. When i start
dpkg-buildpackage:

1. it has to recompile my java source or it could install the ij.jar
i've in /jars. If it try to recompile the source code it read the
Makefile ? or build.xml ?  
2. where you say where to install the ij.jar and the wrapper(?) with
$command -jar /usr/share/java/ij.jar ?

trying dpkg-buildpackage -rfakeroot i obtain:

dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is imagej
dpkg-buildpackage: source version is 1.30s-1
dpkg-buildpackage: source maintainer is Paolo Ariano
<paolo.ariano@unito.it>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
test -f debian/rules
rm -f build
/usr/bin/make -f Makefile clean
make[1]: Entering directory `/data/paolo2/dev/imagej-1.30s'
make[1]: Leaving directory `/data/paolo2/dev/imagej-1.30s'
rm -f `find . -name "*~"`
rm -rf debian/tmp debian/files* core debian/substvars
 dpkg-source -b imagej-1.30s
dpkg-source: building imagej in imagej_1.30s-1.tar.gz
dpkg-source: building imagej in imagej_1.30s-1.dsc
 debian/rules build
test -f debian/rules
/usr/bin/make -f Makefile archive
make[1]: Entering directory `/data/paolo2/dev/imagej-1.30s'
make[1]: Nothing to be done for `archive'.
make[1]: Leaving directory `/data/paolo2/dev/imagej-1.30s'
touch build
 fakeroot debian/rules binary
test -f debian/rules
test root = "`whoami`"
test -f debian/rules
test -f debian/rules
rm -rf debian/tmp
install -d debian/tmp
cd debian/tmp && install -d `cat ../dirs`
/usr/bin/make -f Makefile install DESTDIR=`pwd`/debian/tmp
make[1]: Entering directory `/data/paolo2/dev/imagej-1.30s'
install: impossibile fare stat di `./ij.jar': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/data/paolo2/dev/imagej-1.30s'
make: *** [binary-arch] Error 2

thanks 
paolo

-- 
Paolo Ariano                                  
Neuroscience PhD Student                      
DBAU & INFM Turin (Italy)                     

I bravi ragazzi vanno in Paradiso, i cattivi in Giro -
<Riccardo M.  


_____________________________________________________________________
For your security, this mail has been scanned and protected by Inflex



Reply to: