Installation of beyond compare

Added by Nadir Boussoukaia 14 days ago

Hi,
I managed to install this tool : beyond compare in my previous calculate setup (it was last summer, so it was on 2 versions ago of calculate).

what I did:

  • emerge deb2targz
  • deb2targz bcompare-4.2.3.22587_amd64.deb

this transforms the .deb to a tar.gz file, with content to be copied to /usr/
then I unzipped the content in /usr.
It worked smoothly.
I used it.

But after the upgrade I performed recently on that installed calculate version (installed with an ISO downloaded last summer), where gcc version changed & there are new stuff regarding the management of memory for the process, it was a total failure.
when I tried to launch it it said there was some libs missing (libc++ or so)

No software would launch. No dolphin, no ark. nothing.

Worse:
at reboot: black screen a few seconds after grub.

I tried a ldconfig -v, no luck.

the problem is, I can't live without that tool: beyond compare. And I won't switch to calculate if I can't make it work.

I made a list of software that I use on a daily basis (on arch): I will not make the switch unless I can't have them all (beyond compare, phpstorm, mysql workbench, WPS office...)

Thansk for your help guys !


Replies (10)

RE: Installation of beyond compare - Added by Tomasz Kaczmarczyk 13 days ago

Try to use that layman instead deb2targz
http://gpo.zugaina.org/app-misc/bcompare

Don't forget to mask all packages from that repo and unmask something when you need it, so that repo won't collide with updates.

cat /etc/portage/package.mask/custom 
*/*::<repo-name>

When you want to install such package, portage first asks you to change files, later you should inspect changes with dispatch-conf. Now you're ready to go and you can install (compile) that package.

RE: Installation of beyond compare - Added by Nadir Boussoukaia 13 days ago

Thanks man.

I now just need to learn layman and the rest ;-)

RE: Installation of beyond compare - Added by Nadir Boussoukaia 12 days ago

Hi,
so after reading some docs

  • emerge layman
  • layman -a gentoo-zh
  • layman -S

then

  • emerge app-misc/bcompare

It failed.

Reading the ebuild, which is really easy to understand, it shows the package is unmaintained because it relies on outdated stuff:

So it means that what I did with deb2targz is roughly the same, except I install by hand as root at the end.

at least I learned something today: layers & layman

RE: Installation of beyond compare - Added by Nadir Boussoukaia 12 days ago

update:

the ebuild has this :

SRC_URI="
x86? ( http://www.scootersoftware.com/bcompare-${PV}.i386.tar.gz )
amd64? ( http://www.scootersoftware.com/bcompare-${PV}.x86_64.tar.gz )"

Irealized I just had to replace $PV with the current version: looking at their website you can download
http://www.scootersoftware.com/bcompare-4.2.3.22587_amd64.deb so I tried

http://www.scootersoftware.com/bcompare-4.2.3.22587.x86_64.tar.gz

and the download worked ! ;-)
(the ebuild tries the 4.2.2 version)

then the rest of the ebuild is a patch on the install.sh that comes with the archive.

    sed -i ./install.sh -e 's/^# Create desktop entry and place.*/exit 0/g'
    sed -i ./install.sh -e "s%^# Copy the files.*%BC_BIN=\"$D/\$BC_BIN\"; BC_LIB=\"$D/\$BC_LIB\";%g" 
    sed -i ./install.sh -e "s/^\texit 1.*//g" 


then you can run the proper part manually in a shell:
targetdir="/opt/bcompare" 
local LAUNCHER="bcompare/bin/bcompare" 
./install.sh --prefix="${targetdir}" 


I don't know why it installs in /opt, but in the end, beyond compare works !

I tested this on the live cd, I have to redo it after the install - I hope it will work.

So far so good, I'll have to change the ebuild & maintain it myself later on.

RE: Installation of beyond compare - Added by Brad Heffernan 12 days ago

why not install it from the gentoo-zh overlay with layman?

http://gpo.zugaina.org/app-misc/bcompare

sudo su
layman -o http://gpo.zugaina.org/lst/gpo-repositories.xml -L
layman -a gentoo-zh
emerge -av app-misc/bcompare

then you can remove the overlay after install if you want

layman -d gentoo-zh

RE: Installation of beyond compare - Added by Tomasz Kaczmarczyk 11 days ago

So it's better to add ebuild with newer version.

RE: Installation of beyond compare - Added by Nadir Boussoukaia 11 days ago

I think it is possible to get the last version automatically, then do the rest.
As soon as I get Calculate installed I'll do that.

Thanks again

RE: Installation of beyond compare - Added by polaca 57 11 days ago

Nadir Boussoukaia wrote:

I think it is possible to get the last version automatically, then do the rest.
As soon as I get Calculate installed I'll do that.


Thanks again

Please let us know if you are successful. I would also love to have this program installed.

RE: Installation of beyond compare - Added by Brad Heffernan 11 days ago

you could mask the whole overlay except bcompare

To mask all packages of an overlay the syntax in /etc/portage/package.mask is:

*/*::gentoo-zh

To unmask bcompare from gentoo-zh overlay the syntax in /etc/portage/package.unmask is:

app-misc/bcompare::gentoo-zh

that way the only package you will get and remain updated/replaced will be bcompare, from my understanding from the wiki's i read about it. seen there was a lot of packages in that overlay wanted to make sure there was a way they wouldnt replace the packages from the calculate overlay.

RE: Installation of beyond compare - Added by polaca 57 10 days ago

Brad, the problem is that the package does not install from that overlay. It's trying to download something that does not exist on scootersoftware.com

(1-10/10)

Thank you!