[Gambas-devel] Gambas 1.0.11 installation bug

Benoit Minisini gambas at ...1...
Tue Sep 13 11:54:41 CEST 2005


On Monday 12 September 2005 23:10, Guido Ostkamp wrote:
> Hello,
>
> I just reported a bug against gambas2 in another mail.
> Here is the almost similar problem with gambas 1.0.11:
>
> $ cd /home/testuser
> $ tar xvjf /tmp/gambas-1.0.11.tar.bz2
> $ cd gambas-1.0.11
> $ ./configure --prefix=/home/testuser/local
> $ make
> $ make install
>
> fails with
>
> Making symbolic links in /usr/bin...
> rm: cannot remove `/usr/bin/gbx': Permission denied
> ln: creating symbolic link `/usr/bin/gbx' to
> `/home/testuser/local/bin/gbx': File exists
> rm: cannot remove `/usr/bin/gbc': Permission denied
> ln: creating symbolic link `/usr/bin/gbc' to
> `/home/testuser/local/bin/gbc': File exists
> rm: cannot remove `/usr/bin/gba': Permission denied
> ln: creating symbolic link `/usr/bin/gba' to
> `/home/testuser/local/bin/gba': File exists
> rm: cannot remove `/usr/bin/gbi': Permission denied
> ln: creating symbolic link `/usr/bin/gbi' to
> `/home/testuser/local/bin/gbi': File exists
> make[2]: *** [install-exec-local] Error 1
> make[2]: Leaving directory `/home/testuser/gambas-1.0.11'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/home/testuser/gambas-1.0.11'
> make: *** [install-recursive] Error 1
>
> The 'file exists' is because I have another older installation in the
> /usr/bin etc. directories. This however, should have no influence, as I
> have ordered to place everything under /home/testuser/local.
>
> I would appreciate, if this bug could be fixed in the next release.
>
> Thanx in advance,
>
> Guido
>

Gambas needs a symbolic link in /usr/bin to work. So /usr/bin/gbx for gambas 
1.0.x and /usr/bin/gbx2 for gambas 1.9.x. Because of the '#!/usr/bin/gbx2 -x' 
stuff at the beginning of each executable.

The other symbolic links are not needed, and may be removed in a next release.

If you can find a way not doing this, I will take it. But until now, I found 
no way to avoid this symbolic link.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list