Home » Community » PR, media coverage, articles and documentation » U++ in Linux repos
Re: U++ in Linux repos [message #43299 is a reply to message #34693] |
Thu, 26 June 2014 10:51 |
|
jibe
Messages: 294 Registered: February 2007 Location: France
|
Experienced Member |
|
|
Hi Honza,
I tested on CentOS 6 32 bits : working well, just the missing version number as in SL.
On SL 64 bits : Install Ok, but impossible to compile because of a lot of files not found. The reason is in your GCC.bm : on 64 bits versions, you must use /usr/lib64 instead of /usr/lib (/usr/lib is existing, but used only with 32 bits softwares).
I saw also that /usr/X11R6 is mentionned in GCC.bm. This seems to have no importance to compile "Animated Hello" example, but could be a problem with others applications as this folder doesn't exists on CentOS or SL. I don't know for others rpm-based distros.
I'll now try to compile some of my applications on SL 32 bits. I'll let you know if it's Ok or not.
I can continue testing (not promizing to be always fast !) what you want on SL or CentOS. I thought that I could also easily test on Mageia, but unfortunately it's no more working and I should reinstall it. As I don't really need it, I'll reinstall only if you need some tests on it. The same for others rpm-based distros (Fedora, open-suse...).
For next tests, please tell me if I must first uninstall including all config files and re-install (what I did until now) or if I can just make an update (not a problem for me, just to know... and not do useless things )
|
|
|
|
Re: U++ in Linux repos [message #43302 is a reply to message #43301] |
Thu, 26 June 2014 19:31 |
|
jibe wrote on Thu, 26 June 2014 18:56The version number is not displayed in theide
I did some more tweaking. Right now, with the most recent version (7469-2) from the SL repository, I can see the version string in theide binary when I extract it from the rpm. Can you try to install that version and look at the about box please? No need to remove the configuration files, just upgrade the package. The version should be "7469-ScientificLinux_6_standard-x86_64". I know it's bit long, but I just used the easy way to figure out what distro are we compiling for.
Also, there is should now be correctly set macro IDE_VERSION (to the same value) in ide/version.h, if you have the upp-devel package installed.
jibe wrote on Thu, 26 June 2014 18:56GCC.bm file is not good for 64 bits SL and CentOS.
Can you send me your working version? It would make things much simpler for me, if I don't have to gather all the information about SL6 filesystem from the internet
Quote:I saw also that /usr/X11R6 is mentionned in GCC.bm. This seems to have no importance to compile "Animated Hello" example, but could be a problem with others applications as this folder doesn't exists on CentOS or SL.
Having non-existent directory in build-method is not a problem. They are simply ignored.
Again, thanks a lot for your feedback!
Honza
|
|
|
Re: U++ in Linux repos [message #43303 is a reply to message #43302] |
Thu, 26 June 2014 22:41 |
|
jibe
Messages: 294 Registered: February 2007 Location: France
|
Experienced Member |
|
|
dolik.rce wrote on Thu, 26 June 2014 19:31Can you try to install that version and look at the about box please?
Yes ! Perfect
I attached the images.
dolik.rce wrote on Thu, 26 June 2014 19:31Can you send me your working version? It would make things much simpler for me, if I don't have to gather all the information about SL6 filesystem from the internet Smile
Ooops ! Sorry, I should have thought about that... In fact, I just changed lib to lib64 and removed all concerning X11R6. File attached.
dolik.rce wrote on Thu, 26 June 2014 19:31Having non-existent directory in build-method is not a problem. They are simply ignored.
Yes. I was afraid that it could cause "file not found" errors, but in fact all we need is in the others paths : all the tests of my last post were made on SL 32, with your GCC.bm unchanged.
dolik.rce wrote on Thu, 26 June 2014 19:31thanks a lot for your feedback!
You are welcome! Free software deserves to be involved a little!
Now, we have just to hope that the CERN and Fermilab will use UPP !
By the way, you could ask them to put it in SL repos. I should not surprised that they accept : they are scientists, and have a very different approach of Linux than Mark Shuttleworth
-
Attachment: files.tar.gz
(Size: 182.98KB, Downloaded 284 times)
|
|
|
Re: U++ in Linux repos [message #43313 is a reply to message #43303] |
Sun, 29 June 2014 12:06 |
|
Hi jibe,
I have updated the GCC.bm to contain your changes. It should now work on both architectures.
I don't think this is the right solution in the long term. The file should be generated on the target machine in postinstall hook, or something like that. I'll try to figure that out when I have some more time For now, it should be usable.
I'm glad we could make it work, it's been a great cooperation, thanks
Best regards,
Honza
|
|
|
|
Re: U++ in Linux repos [message #43329 is a reply to message #43325] |
Mon, 30 June 2014 21:06 |
|
jibe wrote on Mon, 30 June 2014 18:49What is done for GCC.bm in the .deb versions ? I guess that it will be the same, or just few differences due to the differences between deb and rpm packages ?
The debian package uses the original file from the nightly tarball. It actually contains a 'template' file, GCC.bm.in, which is processed on the system where the package is built. The scripts attempt to figure out correct paths to use. In future, I'd like to use something like that on all systems, but it will have to be a bit more robust.
Honza
|
|
|
|
Goto Forum:
Current Time: Sat Jul 27 16:38:57 CEST 2024
Total time taken to generate the page: 0.01406 seconds
|