|
|
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » [ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty
[ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty [message #31911] |
Wed, 06 April 2011 14:47 |
Lance
Messages: 527 Registered: March 2007
|
Contributor |
|
|
Hi Honza:
I recently updated to Ubuntu-natty. The following manual changes to build method are required to arrive at a fully working theide environment:
1. Change compiler name to g++-4.5
2. Add two additional include directories:
/usr/lib/x86_64-linux-gnu/glib-2.0/include
/usr/include/gdk-pixbuf-2.0
the first one appears to be platform-dependent.
Just in case these are not something that need to be manually set.
Thanks,
Lance
|
|
|
Re: [ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty [message #31915 is a reply to message #31911] |
Wed, 06 April 2011 15:58 |
|
Hi Lance,
Thanks for report.
I am aware of the new glib include directory and I already changed it. Actually, I knew the next day after it occured, lpbuild acts like automated test build system - everytime something brakes, I have a report in my mailbox next morning The problem is that the build method file is generated only when installing the package (in postinst script). If you update the package, it won't change (in order not to break manual changes user might have done). The same goes for the g++ version as well, it is determined in the very same file.
I am not sure how to solve such thing cleanly (i.e. without requiring user assistance), apart from distributing the GCC.bm as conf file (which has some other problems...).
Best regards,
Honza
|
|
|
|
Re: [ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty [message #32336 is a reply to message #32335] |
Tue, 10 May 2011 07:50 |
|
nixnixnix wrote on Tue, 10 May 2011 03:55 | When I start theide under Ubuntu Natty I get the message
"Invalid memory access!"
and theIDE does not start.
I think it is something to do with my packages but as I can't get in I can't fix it. I tried
apt-get purge theide
and then reinstalled but the crash is still there. Are there other config files not removed by purge and if so, where would I find them please?
Nick
|
Hi Nick,
This seems to be a problem in theide binary itself, rather than in configuration. You can try to install some older version of theide (they can be manualy downloaded here). I'll try to check if there is something wrong with the packages...
Anyway, if you need to completely purge the configuration, just delete /home/<user>/.upp directory.
Honza
|
|
|
Re: [ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty [message #32348 is a reply to message #32336] |
Tue, 10 May 2011 19:10 |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
Thanks Honza,
That worked. I had specified /home/nick/out as the output directory in the packages dialog that comes up when UPP starts. I am now just leaving it blank.
EDIT: hmm, it doesn't like me using packages that are in /mnt/hgfs/ gives me the same Invalid memory access and I have to delete .upp again.
Nick
EDIT: there are no build methods and I am not sure how to add them. Ubuntu says that g++ is already installed. Should I go back to Ubuntu 10.10 just now?
[Updated on: Tue, 10 May 2011 19:20] Report message to a moderator
|
|
|
Re: [ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty [message #32349 is a reply to message #32348] |
Tue, 10 May 2011 20:08 |
|
nixnixnix wrote on Tue, 10 May 2011 19:10 | Thanks EDIT: there are no build methods and I am not sure how to add them. Ubuntu says that g++ is already installed. Should I go back to Ubuntu 10.10 just now?
|
There should be GCC.bm in /usr/share/upp/, just copy it to the newly created /home/<user>/.upp/theide/ (this should be done during install, probably a bug too...).
Honza
|
|
|
|
|
|
|
|
|
|
Re: [ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty [message #32899 is a reply to message #32898] |
Sat, 18 June 2011 22:28 |
|
Hi goyo,
Ah, ok... Sorry for misunderstanding. As far as I know, the packages in PPA are working as well as from any other source.
Regarding the error, could you describe when it happens, if and how can it be reproduced and some info about your system? It was already reported by few people, but if I remember correctly we were unfortunately never able to even reproduce it nor to fix it. So exact and precise info would be very helpful. Also, please post it as a new thread, as it is not really related to this one...
Honza
PS: Welcome to the forum
|
|
|
|
|
Re: [ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty [message #34686 is a reply to message #34685] |
Tue, 06 December 2011 08:15 |
|
nixnixnix wrote on Tue, 06 December 2011 06:21 | Hi Honza,
Just swung by for another try and found that what was causing my problem was the fact I was trying to use a mapped drive.
My main code is on my D drive in Windows 7 whereas I run Ubuntu in a VM under Windows 7 and the cleanest thing is to have it access the same copy of my project from the Windows drive but theIDE doesn't like it.
Could it be a simple issue like the size of the buffer for the path to the package directory?
For now am happy to copy the code into the Ubuntu VM but it would be nice to have the option of reaching through to the original copy
Thanks,
Nick
|
Hi Nick,
The paths to packages are Strings, so it can't overflow that easily
This sounds more like a problem of the VM settings... What virtualization software do you use? And how did you mount the director to it? And have you tried to access the mounted directory with other applications inside the VM? Also, what exactly doesn't theIDE like about it?
Honza
|
|
|
|
Re: [ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty [message #34688 is a reply to message #34687] |
Tue, 06 December 2011 12:13 |
|
Unfortunately, I'm not very familiar with wmware Perhaps there is some expert among other forum users?
The closest thing I ever did was the same in VirtualBox, but sharing from linux host to different linux guest. It worked quite well...
If you don't find any better solution, you might want to try ugly workaround by mounting the disk in different manner. E.g. using ftpfs or sshfs over network between host and guest.
Honza
|
|
|
Re: [ATTN: dolick.rce] Additioanl directory needed for Ubuntu-natty [message #34697 is a reply to message #34688] |
Tue, 06 December 2011 19:11 |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
I can get it working this way in the same setup using a CentOS VM with UPP 2791 which I built myself.
If I can get any more information on this I will check back.
Nick
EDIT: problem seems to be gone in Ubuntu 11.10. I can read from my Windows drive fine. I can't build though due to X11/xlib.h being missing. Do I need to install more stuff? Does 4193 work for you?
[Updated on: Mon, 19 December 2011 20:29] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri May 03 03:35:54 CEST 2024
Total time taken to generate the page: 0.06107 seconds
|
|
|