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

Re: I can't install eclipse



Jan Schulz wrote:
You can work around it by downloading the source (apt-get source
eclipse), cd eclipse-2.1, vi debian/control and basicly deleting all
'-3' after the eclipse package names in any 'Depends:' line.
Then do a "dpkg-buildpackage -uc -rfakeroot" and wait some time...
Afterwards you can dpkg -i the debs

It takes time, it takes disk space and it does not work...

$ fakeroot dpkg-buildpackage
...
dh_installdirs
# Add here commands to install the package into debian/eclipse.
cp -ar /home/ahmed/data/eclipse-2.1/build-tree/* /home/ahmed/data/eclipse-2.1/debian/eclipse/usr/lib/eclipse
cp -ar  /home/ahmed/data/eclipse-2.1/build-tree/.eclipseproduct \
        /home/ahmed/data/eclipse-2.1/build-tree/icon.xpm \
        /home/ahmed/data/eclipse-2.1/build-tree/install.ini \
        /home/ahmed/data/eclipse-2.1/debian/eclipse/usr/lib/eclipse
install -m 755 debian/eclipse.sh debian/eclipse/usr/bin/eclipse
install -m 755 debian/jdtc.sh debian/eclipse/usr/bin/jdtc
install -m 644 debian/eclipse.menu debian/eclipse/usr/lib/menu/eclipse
rm /home/ahmed/data/eclipse-2.1/debian/eclipse/usr/lib/eclipse/plugins/org.apache.ant_1.5.2/*.jar
rm /home/ahmed/data/eclipse-2.1/debian/eclipse/usr/lib/eclipse/plugins/org.junit_3.8.1/*.jar
dh_movefiles --sourcedir=debian/eclipse
dh_movefiles: debian/eclipse/usr/lib/eclipse/eclipse not found (supposed to put it in eclipse-platform)
find: usr/lib/eclipse/eclipse: No such file or directory
make: *** [install] Error 1
$

I know the whole thing works.
I have used it after forcing eclipse-whatever packages installation.
But an apt-get upgrade sweeps it.




Reply to: