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 » Community » U++ community news and announcements » src package should now work just fine in Linux and BSD
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 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
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 Smile)

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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Router problems...
Next Topic: Real name
Goto Forum:
  


Current Time: Sat Jul 05 12:33:01 CEST 2025

Total time taken to generate the page: 0.04221 seconds