|
|
Home » Community » U++ community news and announcements » src package should now work just fine in Linux and BSD
src package should now work just fine in Linux and BSD [message #20929] |
Sun, 19 April 2009 14:02  |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
I have spend some time trying to fix src package.
I believe it should now work quite fine on most system, including initial U++ setup.
I mean
make
make install
~/theide
and you should be running.
I would be glad to hear reports how well it really works. Anybody with POSIX system, please report!
(If you happen to fix 'domake' or 'doinstall' scripts too, post here 
Mirek
[Updated on: Sun, 19 April 2009 14:02] Report message to a moderator
|
|
|
|
Re: src package should now work just fine in Linux and BSD [message #20947 is a reply to message #20945] |
Mon, 20 April 2009 16:18   |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
phirox wrote on Mon, 20 April 2009 09:39 | I got it working eventually, but it really needed some help.
First:
sh domake
domake: line 18: syntax error: unexpected end of file
make: *** [all] Error 2
This is caused because lines are terminated by CRLF instead of just LF(posix style).
Second:
I had my subversion sources in ~/uppsvn, the whole src script is hardcoded to use ~/upp.src
Third:
The script uses ~/bin/theide, this should be configurable or autodetected(preferable)
Fourth:
The script starts removing stuff! This is really dangerous considering the generic named ~/upload, ~/upp.tmp is more safe because it has the product name in it. (even though everyone should have backups of course )
Fifth:
It doesn't copy the uppsrc directory to ~/upp.tmp , I'll give it a look later if this is the correct way.
My own insights:
Theoretically on linux it is preferably to do everything within the unpacked source tree, incl. temporary files. And you will still need an initial binary to generate the Makefile, or is this going to be included with every stable release?
I am working on some changes for the src script to autodetect points 2 and 3. I will add that later.
|
I am afraid we got two things mixed. I am speaking about the 'product', downloadable here:
http://code.google.com/p/upp-mirror/downloads/detail?name=up p-src-1078.tar.gz&can=2&q=#makechanges
I believe you are, at least partially, speaking about infrastructure scripts used to create this 'product'.
Am I right?
Still, CRLF issue perhaps holds, but I have not had any problems with it yet. What system you are on?
Mirek
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun May 11 14:52:22 CEST 2025
Total time taken to generate the page: 0.00432 seconds
|
|
|