[Gambas-user] Installing Gambas2

2009-08-29 Thread Bill-Lancaster

Have been using Gambas for only a short while.

Having moved to a new computer I get error when installing Gambas
(gambas2-2.15.2).

After make install the following error occurs  (the previous steps were
error free)

/usr/bin/install -c gbx2 /usr/local/bin/gbx2

/usr/bin/install: cannot create regular file `/usr/local/bin/gbx2':
Permission denied

make[3]: *** [install-binPROGRAMS] Error 1


Can anyone help?

-- 
View this message in context: 
http://www.nabble.com/Installing-Gambas2-tp25202728p25202728.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Installing Gambas2

2009-08-29 Thread Jean-Yves F. Barbier
Bill-Lancaster a écrit :
 Have been using Gambas for only a short while.
 
 Having moved to a new computer I get error when installing Gambas
 (gambas2-2.15.2).
 
 After make install the following error occurs  (the previous steps were
 error free)
 
 /usr/bin/install -c gbx2 /usr/local/bin/gbx2
 
 /usr/bin/install: cannot create regular file `/usr/local/bin/gbx2':
 Permission denied

you compiled GB as a user and tried to install it in a system path.
 
either compile it into root account (or use fakeroot) to install it 
in a system path, or as a user but change the installation path to 
any directory you're able write to (and make sure that this path is
part of the $PATH env variable to directly access your executable.)

-- 
Electro my computer was once one of the building blocks of a great
  pyramid

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Installing Gambas2

2009-08-29 Thread Jussi Lahtinen
I always do;
sudo make install


Jussi


On Sat, Aug 29, 2009 at 16:23, Jean-Yves F. Barbier12u...@gmail.com wrote:
 Bill-Lancaster a écrit :
 Have been using Gambas for only a short while.

 Having moved to a new computer I get error when installing Gambas
 (gambas2-2.15.2).

 After make install the following error occurs  (the previous steps were
 error free)

 /usr/bin/install -c gbx2 /usr/local/bin/gbx2

 /usr/bin/install: cannot create regular file `/usr/local/bin/gbx2':
 Permission denied

 you compiled GB as a user and tried to install it in a system path.

 either compile it into root account (or use fakeroot) to install it
 in a system path, or as a user but change the installation path to
 any directory you're able write to (and make sure that this path is
 part of the $PATH env variable to directly access your executable.)

 --
 Electro my computer was once one of the building blocks of a great
          pyramid

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Installing Gambas2

2009-08-29 Thread Jussi Lahtinen
Type man fakeroot to terminal, to see what it does. BUT, I recommend to just
use sudo! It is simpler. If you don't have root password, then you
have to change
installation path.


Jussi


On Sat, Aug 29, 2009 at 18:51, Bill-Lancasterbill-lancas...@lineone.net wrote:

 Jean - thanks for the quick reply.
 I get permission denied when I try to navigate to root.
 What is fakeroot ?
 Bill


 Jean-Yves F. Barbier-2 wrote:

 Bill-Lancaster a écrit :
 Have been using Gambas for only a short while.

 Having moved to a new computer I get error when installing Gambas
 (gambas2-2.15.2).

 After make install the following error occurs  (the previous steps were
 error free)

 /usr/bin/install -c gbx2 /usr/local/bin/gbx2

 /usr/bin/install: cannot create regular file `/usr/local/bin/gbx2':
 Permission denied

 you compiled GB as a user and tried to install it in a system path.

 either compile it into root account (or use fakeroot) to install it
 in a system path, or as a user but change the installation path to
 any directory you're able write to (and make sure that this path is
 part of the $PATH env variable to directly access your executable.)

 --
 Electro my computer was once one of the building blocks of a great
           pyramid

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



 --
 View this message in context: 
 http://www.nabble.com/Installing-Gambas2-tp25202728p25204028.html
 Sent from the gambas-user mailing list archive at Nabble.com.


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Installing Gambas2

2009-08-29 Thread Jean-Yves F. Barbier
Bill-Lancaster a écrit :
 Jean - thanks for the quick reply.
 I get permission denied when I try to navigate to root.

whao, I think you misunderstood me: I didn't say cd to /root,
I said BE the root user. (but anyway, that is not normal to be
refused /root access as a user @ least for read, except of course
for some sensible files)

If you don't know how to go to root from user, type:
su -  (the '-' IS important: man su)
then enter the password of root user;
normally the prompt will change from '$' (user) to '#' (root)
and you'll be really root user.

When you reach this point, 'cd /pathofzesource', 'make clean', 
'./configure', and 'make install' should do the work.

 What is fakeroot ?

As I only use Debian it may be typical from it.
It creates a pseudo-root environment and allow you to make some stuffs
only root is permitted (but I re-read the doc and it was a bad idea: you
can manipulate root files, but not install to system path with it)

JY
-- 
Just because your doctor has a name for your condition doesn't mean he
knows what it is.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Installing Gambas2

2009-08-29 Thread Benoît Minisini
 Bill-Lancaster a écrit :
  Jean - thanks for the quick reply.
  I get permission denied when I try to navigate to root.

 whao, I think you misunderstood me: I didn't say cd to /root,
 I said BE the root user. (but anyway, that is not normal to be
 refused /root access as a user @ least for read, except of course
 for some sensible files)

 If you don't know how to go to root from user, type:
 su -  (the '-' IS important: man su)
 then enter the password of root user;
 normally the prompt will change from '$' (user) to '#' (root)
 and you'll be really root user.

 When you reach this point, 'cd /pathofzesource', 'make clean',
 './configure', and 'make install' should do the work.

Just make install. All other commands must be run as a normal user.

-- 
Benoît

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user