Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Releasing U++ » src release
src release [message #20503] Sat, 21 March 2009 10:57 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I would like to start a discussion about 'true' source package.

I believe that at this moment, we are close to the ability to build U++ on most modern posix system with X11.

Please check the latest version, especially if you have anything else than ubuntu or even linux Wink

http://code.google.com/p/upp-mirror/downloads/list

I believe we do not need ./configure; the only reason I can see for that is warning about missing libraries - if somebody is willing to create such script, I would be happy to add it.

BTW, to resolve problems with different directory structures, I think one possible solution is to put ALL possible paths to include/lib lists - am I right? Smile

What is sort of missing is 'make install'.

I guess 'make' should call external script there; and my initial plan is as follows:

- if it is run as root, it would install into /usr/local

- if not, it would install into '~'; if there is 'bin' in '~', put theide there, otherwise to '~/'.

Any more ideas?

Mirek
Re: src release [message #20504 is a reply to message #20503] Sat, 21 March 2009 14:33 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Whether to remain with the binary packages?
Or now remain only source? Sad


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Re: src release [message #20507 is a reply to message #20503] Sat, 21 March 2009 16:06 Go to previous messageGo to next message
cocob is currently offline  cocob
Messages: 156
Registered: January 2008
Experienced Member
You don't need a configure script if you build with a recent version of gcc.
Actually upp can't be built with a lot of proprietary compiler on many systems.
Re: src release [message #20508 is a reply to message #20507] Sat, 21 March 2009 16:51 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cocob wrote on Sat, 21 March 2009 11:06

You don't need a configure script if you build with a recent version of gcc.



Excatly. All we need to know is in predefined macros (and that is why I have moved to Core/config.h too...).

Quote:


Actually upp can't be built with a lot of proprietary compiler on many systems.


Well, I guess there are not many proprietary compilers left Smile

Mirek
Re: src release [message #20555 is a reply to message #20503] Mon, 23 March 2009 10:38 Go to previous messageGo to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi Mirek,

I will check source release this week.
Concerning the install script, I would say we should respect a user specified make define for install path.

Matthias
Re: src release [message #20558 is a reply to message #20555] Mon, 23 March 2009 10:46 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
masu wrote on Mon, 23 March 2009 05:38


Concerning the install script, I would say we should respect a user specified make define for install path.


Sorry for my ignorance, but what you mean by that?

In any case, I expect and respect alterations to the src package - I will be happy to improve the thing over time.

Mirek
Re: src release [message #20561 is a reply to message #20558] Mon, 23 March 2009 11:15 Go to previous messageGo to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Quote:

Sorry for my ignorance, but what you mean by that?

Something like this:
make INSTALL_PREFIX=/usr/local/share


Matthias
Re: src release [message #20562 is a reply to message #20561] Mon, 23 March 2009 11:19 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
masu wrote on Mon, 23 March 2009 06:15

Quote:

Sorry for my ignorance, but what you mean by that?

Something like this:
make INSTALL_PREFIX=/usr/local/share


Matthias


Well, make is there, ready to be edited Smile

Note that there are two makefiles. The real makefile, exported using theide, and 'user' makefile that calls this hidden one. User makefile is not exported, means you can easily edit it. install belongs there.

Mirek
Re: src release [message #20563 is a reply to message #20562] Mon, 23 March 2009 11:26 Go to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
I know, I prepared these for the latest release Wink.
What I want to be sure is that the user has full control and that we do not introduce something like if a then install there else if b then install somewhere else.

For me this adds more confusion then is needed. We should rather use a default install path like users home dir and the mechanism to alter this install path quiet easily.

Matthias
Previous Topic: A new set of scripts to create rpm file from Subversion
Next Topic: BSD make: strange issue
Goto Forum:
  


Current Time: Fri Mar 29 00:30:37 CET 2024

Total time taken to generate the page: 0.01504 seconds