|
|
Home » Developing U++ » Releasing U++ » 32 bit .deb releases
|
|
|
Re: 32 bit .deb releases [message #23931 is a reply to message #23930] |
Sat, 05 December 2009 19:13   |
|
koldo wrote on Sat, 05 December 2009 15:04 | Hello Ion
I have tried them but without success.
Beginning with dosvn I get: 53: Syntax error: end of file unexpected (expecting "then"). I do not know script but the source does not seem to be wrong 
I have tried to run other scripts called from dosvn like idebuild and I get different errors.
Does anybody has tried them ?
Best regards
Koldo
|
Hi Koldo,
I've just tried to make a .deb using dosvn script without any problems. I even checked the source of the scripts and they do look OK. It's hard to believe that your bash is wrong, so the only reason I see that might cause this, is that the file is corrupted... But it's also possible that I'm missing something 
Regards,
Honza
PS: A loosely related sidenote: I tried to install the .deb I made and realized that it "requires" several packages I don't have installed (like libgtk2.0-dev). I was happily using upp for many months without it (using .NOGTK flag), so it's not really requirement. I suggest to make the package "recommend" it instead. Also g++ is not really needed to run theide...
|
|
|
Re: 32 bit .deb releases [message #23932 is a reply to message #23931] |
Sat, 05 December 2009 19:31   |
andrei_natanael
Messages: 262 Registered: January 2009
|
Experienced Member |
|
|
dolik.rce wrote on Sat, 05 December 2009 20:13 |
koldo wrote on Sat, 05 December 2009 15:04 | Hello Ion
I have tried them but without success.
Beginning with dosvn I get: 53: Syntax error: end of file unexpected (expecting "then"). I do not know script but the source does not seem to be wrong 
I have tried to run other scripts called from dosvn like idebuild and I get different errors.
Does anybody has tried them ?
Best regards
Koldo
|
Hi Koldo,
I've just tried to make a .deb using dosvn script without any problems. I even checked the source of the scripts and they do look OK. It's hard to believe that your bash is wrong, so the only reason I see that might cause this, is that the file is corrupted... But it's also possible that I'm missing something 
Regards,
Honza
PS: A loosely related sidenote: I tried to install the .deb I made and realized that it "requires" several packages I don't have installed (like libgtk2.0-dev). I was happily using upp for many months without it (using .NOGTK flag), so it's not really requirement. I suggest to make the package "recommend" it instead. Also g++ is not really needed to run theide...
|
Hello Honza,
We introduced gtk+ dependency because people expect to compile and run U++ examples unmodified(without flagNOGTK). g++ is not required to run theIDE but is a requirement to compile U++ examples and because the package doesn't install just theIDE executable but entire U++ framework, I think it's normal to provide g++ as a requirement and not as a recommended package else we have to split package in theIDE package and U++ development package and I think it's not what Mirek and others developers want and without a compiler what you'll do with theIDE?
Andrei
|
|
|
Re: 32 bit .deb releases [message #23933 is a reply to message #23932] |
Sat, 05 December 2009 20:55   |
|
andrei_natanael wrote on Sat, 05 December 2009 19:31 |
Hello Honza,
We introduced gtk+ dependency because people expect to compile and run U++ examples unmodified(without flagNOGTK). g++ is not required to run theIDE but is a requirement to compile U++ examples and because the package doesn't install just theIDE executable but entire U++ framework, I think it's normal to provide g++ as a requirement and not as a recommended package else we have to split package in theIDE package and U++ development package and I think it's not what Mirek and others developers want and without a compiler what you'll do with theIDE?
Andrei
|
Hi Andrei,
Thanks for reply... I understand your opinion and it's perfectly reasonable. But with all respect I still have some objections. Let me first quote debian site about package management:
- "Depends"
This declares an absolute dependency and all of the packages listed in this field must be installed at the same time or in advance.
- "Recommends"
This declares a strong, but not absolute, dependency. Most users would not want the package unless all of the packages listed in this field are installed.
- "Suggests"
This declares a weak dependency. Many users of this package may benefit from installing packages listed in this field but can have reasonable functions without them.
All the programs I know (aptitude, synaptic and gdebi) install recommended packages by default without asking. So for average user, "recommend" means basicaly the same as "depend". But for me (and probably other people who are trying to keep their system clean and small) "depend" means installing unnecessary stuff. Just to illustrate the situation: my system consist of less than 900 packages, installation of upp asked me for additional 40...
There is no need to split the package in two (and I would vote against too). Concerning the compiler dependency: g++ is just a virtual package. It might be a bit nonstandard, but I have installed GNU compilers but not the virtual package g++. Also other people might wish to use different compilers (e.g. for cross-compiling).
Anyway, I apologize, this is bit off-topic from Koldos post. If there's any more discussion in this direction, it should probably be moved in separate thread...
Best regards,
Honza
|
|
|
|
|
|
Re: 32 bit .deb releases [message #23941 is a reply to message #23940] |
Wed, 09 December 2009 01:34   |
|
koldo wrote on Tue, 08 December 2009 20:46 | Could you help me ?
Best regards
Koldo
|
Hi Koldo,
I would like to help you, I'm just not sure how 
The script is absolutely the same as I was using. So there must be some difference in how is it handled. What distro do you use? And what shell (version)? I always thougth that bash should behave in the same way everywhere, but it seems like I was wrong (again) 
Just a wild guess: try running something as simple as if [ -d /media ]; then; echo "OK"; fi in your terminal. The error message sound like the problem is in the if part...
One last question: can you try on some other machine?
Regards,
Honza
PS: I almost forgot... Try to run the script in debug mode: That might help us a lot
|
|
|
|
|
Goto Forum:
Current Time: Sun May 11 09:07:53 CEST 2025
Total time taken to generate the page: 0.00717 seconds
|
|
|