Bug in gambas2-1.9.20 installation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in gambas2-1.9.20 installation

Guido Ostkamp

Hello,

I would like to report a bug in the gambas2-1.9.20 installation.

I'm testing my software as a seperate user 'testuser' before installing it
to the regular locations. So I did this:

$ cd /home/testuser
$ tar xvjf /tmp/gambas2-1.9.20.tar.bz2
$ cd gambas2-1.9.20
$ ./configure --prefix=/home/testuser/local
$ make
$ make install

The installation script finished, but the effects were as follows:

... ln: creating symbolic link `/usr/bin/gambas2' to
`/home/testuser/local/bin/gambas2.gambas': Permission denied
...

It's clear that this link should have been created in
/home/testuser/local/bin. I tried that, but then  ...

$ cd /home/testuser/local/bin
$ ln -s gambas2.gambas gambas2
$ ./gambas2
zsh: no such file or directory: ./gambas2

... it failed. I checked 'gambas2.gambas' and found

$ head gambas2.gambas
#!/usr/bin/gbx2 -x
           
....# Gambas Project File 1.0
...

This is also wrong. /usr/bin/gbx2 should not be in here as it does not
exist.

Ah, btw. here is my environment: SuSE Linux 9.3 Prof., and an earlier
version of gambas was installed as SuSE package at standard locations.
However, this should not have any influence.

I would appreciate if these bugs could be fixed.

Thanx in advance,

Guido


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gambas-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-devel
Reply | Threaded
Open this post in threaded view
|

Re: Bug in gambas2-1.9.20 installation

Laurent Carlier
Guido Ostkamp a écrit :

> Hello,
>
> I would like to report a bug in the gambas2-1.9.20 installation.
>
> I'm testing my software as a seperate user 'testuser' before installing it
> to the regular locations. So I did this:
>
> $ cd /home/testuser
> $ tar xvjf /tmp/gambas2-1.9.20.tar.bz2
> $ cd gambas2-1.9.20
> $ ./configure --prefix=/home/testuser/local
> $ make
> $ make install
>
> The installation script finished, but the effects were as follows:
>
> ... ln: creating symbolic link `/usr/bin/gambas2' to
> `/home/testuser/local/bin/gambas2.gambas': Permission denied
> ...
>
> It's clear that this link should have been created in
> /home/testuser/local/bin. I tried that, but then  ...
>
> $ cd /home/testuser/local/bin
> $ ln -s gambas2.gambas gambas2
> $ ./gambas2
> zsh: no such file or directory: ./gambas2
>
> ... it failed. I checked 'gambas2.gambas' and found
>
> $ head gambas2.gambas
> #!/usr/bin/gbx2 -x
>            
> ....# Gambas Project File 1.0
> ...
>
> This is also wrong. /usr/bin/gbx2 should not be in here as it does not
> exist.
>
> Ah, btw. here is my environment: SuSE Linux 9.3 Prof., and an earlier
> version of gambas was installed as SuSE package at standard locations.
> However, this should not have any influence.
>
> I would appreciate if these bugs could be fixed.
>
> Thanx in advance,
>
> Guido

Perhaps su -c 'make install' work better ?

Regards,

--

Laurent Carlier
jabber : [hidden email]



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gambas-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-devel
Reply | Threaded
Open this post in threaded view
|

Re: Bug in gambas2-1.9.20 installation

Guido Ostkamp
Hello Laurent,

> Perhaps su -c 'make install' work better ?

no, the general configure-options with '--prefix=...' as well as with
'--exec_prefix=...' or '--bindir=...' is explicitly designed to allow for
different installation pathes and should be honored.

This provides the possibility to install software into your private
homedirectory on machines, where you are only a user, and do not have
admin rights.

Regards,

Guido


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gambas-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-devel