How to make your gambas project compile using autoconf tools

View: New views
18 Messages — Rating Filter:   Alert me  

How to make your gambas project compile using autoconf tools

by M0E Lnx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've been writing gambas for a while now... continuosly developing 2
applications.
I'd like to distribute my software in a way that the end user can
compile in a way similar to how the gambas tarball compiles.

./configure && make && make install

instead of distributing binaries.

Does anyone have a clue how this is done?

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by Stefano Palmeri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Il giovedì 19 giugno 2008 21:47:48 M0E Lnx ha scritto:

> I've been writing gambas for a while now... continuosly developing 2
> applications.
> I'd like to distribute my software in a way that the end user can
> compile in a way similar to how the gambas tarball compiles.
>
> ./configure && make && make install
>
> instead of distributing binaries.
>
> Does anyone have a clue how this is done?
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user

In the IDE menu go to:

Project --> Make --> Installation Package

and then select "Autotools" when the wizard asks
for the type of package you want to create.

Stefano

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by M0E Lnx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sweet mother of God!...


I did not know that

Very nice. Thank you for providing such a kool way to do this


On Thu, Jun 19, 2008 at 4:04 PM, Stefano Palmeri <rospolosco@...> wrote:

> Il giovedì 19 giugno 2008 21:47:48 M0E Lnx ha scritto:
>> I've been writing gambas for a while now... continuosly developing 2
>> applications.
>> I'd like to distribute my software in a way that the end user can
>> compile in a way similar to how the gambas tarball compiles.
>>
>> ./configure && make && make install
>>
>> instead of distributing binaries.
>>
>> Does anyone have a clue how this is done?
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user@...
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> In the IDE menu go to:
>
> Project --> Make --> Installation Package
>
> and then select "Autotools" when the wizard asks
> for the type of package you want to create.
>
> Stefano
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by Stefano Palmeri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Il giovedì 19 giugno 2008 23:34:32 M0E Lnx ha scritto:
> Sweet mother of God!...
>
>
> I did not know that
>
> Very nice. Thank you for providing such a kool way to do this
>

Not me. Thanks Benoit and Laurent Carlier.


> On Thu, Jun 19, 2008 at 4:04 PM, Stefano Palmeri <rospolosco@...>
wrote:

> > Il giovedì 19 giugno 2008 21:47:48 M0E Lnx ha scritto:
> >> I've been writing gambas for a while now... continuosly developing 2
> >> applications.
> >> I'd like to distribute my software in a way that the end user can
> >> compile in a way similar to how the gambas tarball compiles.
> >>
> >> ./configure && make && make install
> >>
> >> instead of distributing binaries.
> >>
> >> Does anyone have a clue how this is done?
> >>
> >> ------------------------------------------------------------------------
> >>- Check out the new SourceForge.net Marketplace.
> >> It's the best place to buy or sell services for
> >> just about anything Open Source.
> >> http://sourceforge.net/services/buy/index.php
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user@...
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> > In the IDE menu go to:
> >
> > Project --> Make --> Installation Package
> >
> > and then select "Autotools" when the wizard asks
> > for the type of package you want to create.
> >
> > Stefano
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by M0E Lnx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One minor problem though... I just did my application with this
after some testing... here are the results

running configure without arguments does not install the binary to the system

running it with the --prefix=/usr argument results in a new directory
in /usr called usr... so the binary really ends up in
/usr/usr/vpackager.gambas

How do I fix this?


On Thu, Jun 19, 2008 at 4:45 PM, Stefano Palmeri <rospolosco@...> wrote:

> Il giovedì 19 giugno 2008 23:34:32 M0E Lnx ha scritto:
>> Sweet mother of God!...
>>
>>
>> I did not know that
>>
>> Very nice. Thank you for providing such a kool way to do this
>>
>
> Not me. Thanks Benoit and Laurent Carlier.
>
>
>> On Thu, Jun 19, 2008 at 4:04 PM, Stefano Palmeri <rospolosco@...>
> wrote:
>> > Il giovedì 19 giugno 2008 21:47:48 M0E Lnx ha scritto:
>> >> I've been writing gambas for a while now... continuosly developing 2
>> >> applications.
>> >> I'd like to distribute my software in a way that the end user can
>> >> compile in a way similar to how the gambas tarball compiles.
>> >>
>> >> ./configure && make && make install
>> >>
>> >> instead of distributing binaries.
>> >>
>> >> Does anyone have a clue how this is done?
>> >>
>> >> ------------------------------------------------------------------------
>> >>- Check out the new SourceForge.net Marketplace.
>> >> It's the best place to buy or sell services for
>> >> just about anything Open Source.
>> >> http://sourceforge.net/services/buy/index.php
>> >> _______________________________________________
>> >> Gambas-user mailing list
>> >> Gambas-user@...
>> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >
>> > In the IDE menu go to:
>> >
>> > Project --> Make --> Installation Package
>> >
>> > and then select "Autotools" when the wizard asks
>> > for the type of package you want to create.
>> >
>> > Stefano
>> >
>> > -------------------------------------------------------------------------
>> > Check out the new SourceForge.net Marketplace.
>> > It's the best place to buy or sell services for
>> > just about anything Open Source.
>> > http://sourceforge.net/services/buy/index.php
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user@...
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user@...
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by Stefano Palmeri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Il giovedì 19 giugno 2008 23:52:01 M0E Lnx ha scritto:

> One minor problem though... I just did my application with this
> after some testing... here are the results
>
> running configure without arguments does not install the binary to the
> system
>
> running it with the --prefix=/usr argument results in a new directory
> in /usr called usr... so the binary really ends up in
> /usr/usr/vpackager.gambas
>
> How do I fix this?
>

I confirm. This seems to be a bug. If I run
./configure without arguments then it installs
the binary in:

/usr/local/usr/local/bin/myprogram.gambas.

instead of the expected:

/usr/local/bin/myprogram.gambas

You have to wait for the boss fix ;-)

Stefano








> On Thu, Jun 19, 2008 at 4:45 PM, Stefano Palmeri <rospolosco@...>
wrote:

> > Il giovedì 19 giugno 2008 23:34:32 M0E Lnx ha scritto:
> >> Sweet mother of God!...
> >>
> >>
> >> I did not know that
> >>
> >> Very nice. Thank you for providing such a kool way to do this
> >
> > Not me. Thanks Benoit and Laurent Carlier.
> >
> >> On Thu, Jun 19, 2008 at 4:04 PM, Stefano Palmeri <rospolosco@...>
> >
> > wrote:
> >> > Il giovedì 19 giugno 2008 21:47:48 M0E Lnx ha scritto:
> >> >> I've been writing gambas for a while now... continuosly developing 2
> >> >> applications.
> >> >> I'd like to distribute my software in a way that the end user can
> >> >> compile in a way similar to how the gambas tarball compiles.
> >> >>
> >> >> ./configure && make && make install
> >> >>
> >> >> instead of distributing binaries.
> >> >>
> >> >> Does anyone have a clue how this is done?
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >>--- - Check out the new SourceForge.net Marketplace.
> >> >> It's the best place to buy or sell services for
> >> >> just about anything Open Source.
> >> >> http://sourceforge.net/services/buy/index.php
> >> >> _______________________________________________
> >> >> Gambas-user mailing list
> >> >> Gambas-user@...
> >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >
> >> > In the IDE menu go to:
> >> >
> >> > Project --> Make --> Installation Package
> >> >
> >> > and then select "Autotools" when the wizard asks
> >> > for the type of package you want to create.
> >> >
> >> > Stefano
> >> >
> >> > ----------------------------------------------------------------------
> >> >--- Check out the new SourceForge.net Marketplace.
> >> > It's the best place to buy or sell services for
> >> > just about anything Open Source.
> >> > http://sourceforge.net/services/buy/index.php
> >> > _______________________________________________
> >> > Gambas-user mailing list
> >> > Gambas-user@...
> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >> ------------------------------------------------------------------------
> >>- Check out the new SourceForge.net Marketplace.
> >> It's the best place to buy or sell services for
> >> just about anything Open Source.
> >> http://sourceforge.net/services/buy/index.php
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user@...
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le Friday 20 June 2008 10:17:01 Stefano Palmeri, vous avez écrit :

> Il giovedì 19 giugno 2008 23:52:01 M0E Lnx ha scritto:
> > One minor problem though... I just did my application with this
> > after some testing... here are the results
> >
> > running configure without arguments does not install the binary to the
> > system
> >
> > running it with the --prefix=/usr argument results in a new directory
> > in /usr called usr... so the binary really ends up in
> > /usr/usr/vpackager.gambas
> >
> > How do I fix this?
>
> I confirm. This seems to be a bug. If I run
> ./configure without arguments then it installs
> the binary in:
>
> /usr/local/usr/local/bin/myprogram.gambas.
>
> instead of the expected:
>
> /usr/local/bin/myprogram.gambas
>
> You have to wait for the boss fix ;-)
>
> Stefano
>
> > On Thu, Jun 19, 2008 at 4:45 PM, Stefano Palmeri <rospolosco@...>
>
> wrote:
> > > Il giovedì 19 giugno 2008 23:34:32 M0E Lnx ha scritto:
> > >> Sweet mother of God!...
> > >>
> > >>
> > >> I did not know that
> > >>
> > >> Very nice. Thank you for providing such a kool way to do this
> > >
> > > Not me. Thanks Benoit and Laurent Carlier.
> > >
> > >> On Thu, Jun 19, 2008 at 4:04 PM, Stefano Palmeri
> > >> <rospolosco@...>
> > >
> > > wrote:
> > >> > Il giovedì 19 giugno 2008 21:47:48 M0E Lnx ha scritto:
> > >> >> I've been writing gambas for a while now... continuosly developing
> > >> >> 2 applications.
> > >> >> I'd like to distribute my software in a way that the end user can
> > >> >> compile in a way similar to how the gambas tarball compiles.
> > >> >>
> > >> >> ./configure && make && make install
> > >> >>
> > >> >> instead of distributing binaries.
> > >> >>
> > >> >> Does anyone have a clue how this is done?
> > >> >>
> > >> >> -------------------------------------------------------------------
> > >> >>-- --- - Check out the new SourceForge.net Marketplace.
> > >> >> It's the best place to buy or sell services for
> > >> >> just about anything Open Source.
> > >> >> http://sourceforge.net/services/buy/index.php
> > >> >> _______________________________________________
> > >> >> Gambas-user mailing list
> > >> >> Gambas-user@...
> > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >> >
> > >> > In the IDE menu go to:
> > >> >
> > >> > Project --> Make --> Installation Package
> > >> >
> > >> > and then select "Autotools" when the wizard asks
> > >> > for the type of package you want to create.
> > >> >
> > >> > Stefano
> > >> >
> > >> > --------------------------------------------------------------------
> > >> >-- --- Check out the new SourceForge.net Marketplace.
> > >> > It's the best place to buy or sell services for
> > >> > just about anything Open Source.
> > >> > http://sourceforge.net/services/buy/index.php
> > >> > _______________________________________________
> > >> > Gambas-user mailing list
> > >> > Gambas-user@...
> > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >>
> > >> ----------------------------------------------------------------------
> > >>-- - Check out the new SourceForge.net Marketplace.
> > >> It's the best place to buy or sell services for
> > >> just about anything Open Source.
> > >> http://sourceforge.net/services/buy/index.php
> > >> _______________________________________________
> > >> Gambas-user mailing list
> > >> Gambas-user@...
> > >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > > -----------------------------------------------------------------------
> > >-- Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for
> > > just about anything Open Source.
> > > http://sourceforge.net/services/buy/index.php
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user@...
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Thanks for the report, it should be fixed in svn commit 1419.

Gambas executable is saved in sbin dir and take care of prefix.

++


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by Stefano Palmeri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Il venerdì 20 giugno 2008 12:25:08 Laurent Carlier ha scritto:

> Le Friday 20 June 2008 10:17:01 Stefano Palmeri, vous avez écrit :
> > Il giovedì 19 giugno 2008 23:52:01 M0E Lnx ha scritto:
> > > One minor problem though... I just did my application with this
> > > after some testing... here are the results
> > >
> > > running configure without arguments does not install the binary to the
> > > system
> > >
> > > running it with the --prefix=/usr argument results in a new directory
> > > in /usr called usr... so the binary really ends up in
> > > /usr/usr/vpackager.gambas
> > >
> > > How do I fix this?
> >
> > I confirm. This seems to be a bug. If I run
> > ./configure without arguments then it installs
> > the binary in:
> >
> > /usr/local/usr/local/bin/myprogram.gambas.
> >
> > instead of the expected:
> >
> > /usr/local/bin/myprogram.gambas
> >
> > You have to wait for the boss fix ;-)
> >
> > Stefano
> >
> > > On Thu, Jun 19, 2008 at 4:45 PM, Stefano Palmeri
> > > <rospolosco@...>
> >
> > wrote:
> > > > Il giovedì 19 giugno 2008 23:34:32 M0E Lnx ha scritto:
> > > >> Sweet mother of God!...
> > > >>
> > > >>
> > > >> I did not know that
> > > >>
> > > >> Very nice. Thank you for providing such a kool way to do this
> > > >
> > > > Not me. Thanks Benoit and Laurent Carlier.
> > > >
> > > >> On Thu, Jun 19, 2008 at 4:04 PM, Stefano Palmeri
> > > >> <rospolosco@...>
> > > >
> > > > wrote:
> > > >> > Il giovedì 19 giugno 2008 21:47:48 M0E Lnx ha scritto:
> > > >> >> I've been writing gambas for a while now... continuosly
> > > >> >> developing 2 applications.
> > > >> >> I'd like to distribute my software in a way that the end user can
> > > >> >> compile in a way similar to how the gambas tarball compiles.
> > > >> >>
> > > >> >> ./configure && make && make install
> > > >> >>
> > > >> >> instead of distributing binaries.
> > > >> >>
> > > >> >> Does anyone have a clue how this is done?
> > > >> >>
> > > >> >> -----------------------------------------------------------------
> > > >> >>-- -- --- - Check out the new SourceForge.net Marketplace.
> > > >> >> It's the best place to buy or sell services for
> > > >> >> just about anything Open Source.
> > > >> >> http://sourceforge.net/services/buy/index.php
> > > >> >> _______________________________________________
> > > >> >> Gambas-user mailing list
> > > >> >> Gambas-user@...
> > > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > >> >
> > > >> > In the IDE menu go to:
> > > >> >
> > > >> > Project --> Make --> Installation Package
> > > >> >
> > > >> > and then select "Autotools" when the wizard asks
> > > >> > for the type of package you want to create.
> > > >> >
> > > >> > Stefano
> > > >> >
> > > >> > ------------------------------------------------------------------
> > > >> >-- -- --- Check out the new SourceForge.net Marketplace.
> > > >> > It's the best place to buy or sell services for
> > > >> > just about anything Open Source.
> > > >> > http://sourceforge.net/services/buy/index.php
> > > >> > _______________________________________________
> > > >> > Gambas-user mailing list
> > > >> > Gambas-user@...
> > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > >>
> > > >> --------------------------------------------------------------------
> > > >>-- -- - Check out the new SourceForge.net Marketplace.
> > > >> It's the best place to buy or sell services for
> > > >> just about anything Open Source.
> > > >> http://sourceforge.net/services/buy/index.php
> > > >> _______________________________________________
> > > >> Gambas-user mailing list
> > > >> Gambas-user@...
> > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > >
> > > > ---------------------------------------------------------------------
> > > >-- -- Check out the new SourceForge.net Marketplace.
> > > > It's the best place to buy or sell services for
> > > > just about anything Open Source.
> > > > http://sourceforge.net/services/buy/index.php
> > > > _______________________________________________
> > > > Gambas-user mailing list
> > > > Gambas-user@...
> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > > -----------------------------------------------------------------------
> > >-- Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for
> > > just about anything Open Source.
> > > http://sourceforge.net/services/buy/index.php
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user@...
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> Thanks for the report, it should be fixed in svn commit 1419.
>
> Gambas executable is saved in sbin dir and take care of prefix.
>
> ++
>

Laurent, don't you think it should be better that the default
destination of the executable was /usr/local/bin?

/sbin often is not in the $PATH of normal users.

My little opinion :-)

Stefano


>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by Ron Klinkien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stefano Palmeri schreef:

> Il venerdì 20 giugno 2008 12:25:08 Laurent Carlier ha scritto:
>  
>> Le Friday 20 June 2008 10:17:01 Stefano Palmeri, vous avez écrit :
>>    
>>> Il giovedì 19 giugno 2008 23:52:01 M0E Lnx ha scritto:
>>>      
>>>> One minor problem though... I just did my application with this
>>>> after some testing... here are the results
>>>>
>>>> running configure without arguments does not install the binary to the
>>>> system
>>>>
>>>> running it with the --prefix=/usr argument results in a new directory
>>>> in /usr called usr... so the binary really ends up in
>>>> /usr/usr/vpackager.gambas
>>>>
>>>> How do I fix this?
>>>>        
>>> I confirm. This seems to be a bug. If I run
>>> ./configure without arguments then it installs
>>> the binary in:
>>>
>>> /usr/local/usr/local/bin/myprogram.gambas.
>>>
>>> instead of the expected:
>>>
>>> /usr/local/bin/myprogram.gambas
>>>
>>> You have to wait for the boss fix ;-)
>>>
>>> Stefano
>>>
>>>      
>>>> On Thu, Jun 19, 2008 at 4:45 PM, Stefano Palmeri
>>>> <rospolosco@...>
>>>>        
>>> wrote:
>>>      
>>>>> Il giovedì 19 giugno 2008 23:34:32 M0E Lnx ha scritto:
>>>>>          
>>>>>> Sweet mother of God!...
>>>>>>
>>>>>>
>>>>>> I did not know that
>>>>>>
>>>>>> Very nice. Thank you for providing such a kool way to do this
>>>>>>            
>>>>> Not me. Thanks Benoit and Laurent Carlier.
>>>>>
>>>>>          
>>>>>> On Thu, Jun 19, 2008 at 4:04 PM, Stefano Palmeri
>>>>>> <rospolosco@...>
>>>>>>            
>>>>> wrote:
>>>>>          
>>>>>>> Il giovedì 19 giugno 2008 21:47:48 M0E Lnx ha scritto:
>>>>>>>              
>>>>>>>> I've been writing gambas for a while now... continuosly
>>>>>>>> developing 2 applications.
>>>>>>>> I'd like to distribute my software in a way that the end user can
>>>>>>>> compile in a way similar to how the gambas tarball compiles.
>>>>>>>>
>>>>>>>> ./configure && make && make install
>>>>>>>>
>>>>>>>> instead of distributing binaries.
>>>>>>>>
>>>>>>>> Does anyone have a clue how this is done?
>>>>>>>>
>>>>>>>> -----------------------------------------------------------------
>>>>>>>> -- -- --- - Check out the new SourceForge.net Marketplace.
>>>>>>>> It's the best place to buy or sell services for
>>>>>>>> just about anything Open Source.
>>>>>>>> http://sourceforge.net/services/buy/index.php
>>>>>>>> _______________________________________________
>>>>>>>> Gambas-user mailing list
>>>>>>>> Gambas-user@...
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>>>>>                
>>>>>>> In the IDE menu go to:
>>>>>>>
>>>>>>> Project --> Make --> Installation Package
>>>>>>>
>>>>>>> and then select "Autotools" when the wizard asks
>>>>>>> for the type of package you want to create.
>>>>>>>
>>>>>>> Stefano
>>>>>>>
>>>>>>> ------------------------------------------------------------------
>>>>>>> -- -- --- Check out the new SourceForge.net Marketplace.
>>>>>>> It's the best place to buy or sell services for
>>>>>>> just about anything Open Source.
>>>>>>> http://sourceforge.net/services/buy/index.php
>>>>>>> _______________________________________________
>>>>>>> Gambas-user mailing list
>>>>>>> Gambas-user@...
>>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>>>>              
>>>>>> --------------------------------------------------------------------
>>>>>> -- -- - Check out the new SourceForge.net Marketplace.
>>>>>> It's the best place to buy or sell services for
>>>>>> just about anything Open Source.
>>>>>> http://sourceforge.net/services/buy/index.php
>>>>>> _______________________________________________
>>>>>> Gambas-user mailing list
>>>>>> Gambas-user@...
>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>>>            
>>>>> ---------------------------------------------------------------------
>>>>> -- -- Check out the new SourceForge.net Marketplace.
>>>>> It's the best place to buy or sell services for
>>>>> just about anything Open Source.
>>>>> http://sourceforge.net/services/buy/index.php
>>>>> _______________________________________________
>>>>> Gambas-user mailing list
>>>>> Gambas-user@...
>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>>          
>>>> -----------------------------------------------------------------------
>>>> -- Check out the new SourceForge.net Marketplace.
>>>> It's the best place to buy or sell services for
>>>> just about anything Open Source.
>>>> http://sourceforge.net/services/buy/index.php
>>>> _______________________________________________
>>>> Gambas-user mailing list
>>>> Gambas-user@...
>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>        
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://sourceforge.net/services/buy/index.php
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user@...
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>      
>> Thanks for the report, it should be fixed in svn commit 1419.
>>
>> Gambas executable is saved in sbin dir and take care of prefix.
>>
>> ++
>>
>>    
>
> Laurent, don't you think it should be better that the default
> destination of the executable was /usr/local/bin?
>
> /sbin often is not in the $PATH of normal users.
>
> My little opinion :-)
>
> Stefano
>
>  

/sbin is reserved for superuser/root commands (hence the s), and even
only those who must be available during a singleuser mode, aka to repair
disks etc.
/usr/sbin is reserved for the rest of the root commands.

/usr/local/bin is for all third party software, so it belongs there...

Regards,
Ron.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le Friday 20 June 2008 13:49:59 Ron, vous avez écrit :

> >
> > Laurent, don't you think it should be better that the default
> > destination of the executable was /usr/local/bin?
> >
> > /sbin often is not in the $PATH of normal users.
> >
> > My little opinion :-)
> >
> > Stefano
>
> /sbin is reserved for superuser/root commands (hence the s), and even
> only those who must be available during a singleuser mode, aka to repair
> disks etc.
> /usr/sbin is reserved for the rest of the root commands.
>
> /usr/local/bin is for all third party software, so it belongs there...
>
> Regards,
> Ron.
>

Benoit point me this problem just after the commit. I've got some confusion
about bin and sbin. I've fixed it just few minute after and the (correct) fix
is done in svn 1421 and 1422 for gambas 2 & 3 respectivly.

Thanks for the report and the explanations !

++

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by M0E Lnx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How about making make install support the DESTDIR argument?



On Fri, Jun 20, 2008 at 7:11 AM, Laurent Carlier <lordheavym@...> wrote:

> Le Friday 20 June 2008 13:49:59 Ron, vous avez écrit :
>> >
>> > Laurent, don't you think it should be better that the default
>> > destination of the executable was /usr/local/bin?
>> >
>> > /sbin often is not in the $PATH of normal users.
>> >
>> > My little opinion :-)
>> >
>> > Stefano
>>
>> /sbin is reserved for superuser/root commands (hence the s), and even
>> only those who must be available during a singleuser mode, aka to repair
>> disks etc.
>> /usr/sbin is reserved for the rest of the root commands.
>>
>> /usr/local/bin is for all third party software, so it belongs there...
>>
>> Regards,
>> Ron.
>>
>
> Benoit point me this problem just after the commit. I've got some confusion
> about bin and sbin. I've fixed it just few minute after and the (correct) fix
> is done in svn 1421 and 1422 for gambas 2 & 3 respectivly.
>
> Thanks for the report and the explanations !
>
> ++
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: How to make your gambas project compile using autoconf tools

by Benoit Minisini :: Rate this Message: