i have tested red5 on sarge i386 and runs great!! but i want to test it on
etch amd64 and i found the follow problem when i recompile the .deb red5, i
hope somebody can help

i did this steps to recompile red5_0.6rc1-1.deb for amd64

##################################################
setup jdk-1_5_0_09-linux-amd64.bin and ant

fakeroot make-jpkg jdk-1_5_0_09-linux-amd64.bin
dpkg -i sun-j2sdk1.5_1.5.0+update09_amd64.deb
apt-get install ant

export JAVA_HOME='/usr/lib/j2sdk1.5-sun'
export ANT_HOME='/usr/bin/ant'
export PATH=$JAVA_HOME/bin:$PATH

run "/usr/bin/java -version" and show me

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_09-b03, mixed mode)

wget http://dl.fancycode.com/red5/debian/0.6rc1/red5_0.6rc1-1.dsc
wget http://dl.fancycode.com/red5/debian/0.6rc1/red5_0.6rc1-1.tar.gz
dpkg-source -x red5_0.6rc1-1.dsc
cd red*

when run "debian/rules binary" i get this...

BUILD SUCCESSFUL
Total time: 1 minute 13 seconds
make[1]: se sale del directorio `/root/red5-0.6rc1'
touch build-arch-stamp
dh_testdir
dh_testroot
dh_clean -k -s
dh_installdirs -s
# Add here commands to install the arch part of the package into
# debian/tmp.
/usr/bin/make install PREFIX=/root/red5-0.6rc1/debian/red5/usr
make[1]: se ingresa al directorio `/root/red5-0.6rc1'
mkdir -p /root/red5-0.6rc1/debian/red5/usr/lib/red5
install dist/red5.jar /root/red5-0.6rc1/debian/red5/usr/lib/red5
install -m 755 dist/red5.sh /root/red5-0.6rc1/debian/red5/usr/lib/red5
cp -r dist/conf /root/red5-0.6rc1/debian/red5/usr/lib/red5
cp -r dist/lib /root/red5-0.6rc1/debian/red5/usr/lib/red5
cp -r dist/webapps /root/red5-0.6rc1/debian/red5/usr/lib/red5
make[1]: se sale del directorio `/root/red5-0.6rc1'
dh_install -s
/usr/bin/make -f debian/rules DH_OPTIONS=-a binary-common
make[1]: se ingresa al directorio `/root/red5-0.6rc1'
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installinit
dh_link
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: warning: can't parse dependency /usr/bin/java
dpkg-gencontrol: error: error occurred while parsing Depends
dh_gencontrol: command returned error code 2304
make[1]: *** [binary-common] Error 1
make[1]: se sale del directorio `/root/red5-0.6rc1'
make: *** [binary-arch] Error 2

with  dpkg-buildpackage -us -uc throw this

dpkg-checkbuilddeps: warning: can't parse dependency /usr/bin/javac
dpkg-checkbuilddeps: error: error occurred while parsing Build-Depends
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)

######################################################

dependency ask for java, but is installed and running fine, what can be
wrong ? i have been a couple hours on google but i can't find any solution
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to