|
|
Home » Developing U++ » Releasing U++ » Tarball issues
|
|
|
Re: Tarball issues [message #47380 is a reply to message #47379] |
Tue, 10 January 2017 21:09   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello amrein,
Quote:
[TODO] - Add to readme and web documentation: gcc should be >= 5.0 (as older versions have problems with C++14 standard).
Our target c++ standard for this release is c++11, not c++14 and GCC versions lesser that 5.0 have got problems with the older one. Currently, only Android Builder supports c++14 by default. When, you will write documentation - please keep this digression in mind.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Tue, 10 January 2017 21:13] Report message to a moderator
|
|
|
|
|
|
Re: Tarball issues [message #47387 is a reply to message #47384] |
Wed, 11 January 2017 13:01   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello amrein,
While running - "make" command on Ubuntu 16.04 I came across following error:
/bin/sh domake
domake: 14: domake: Bad substitution
Makefile:5: polecenia dla obiektu 'all' nie powiodły się
make: *** [all] Błąd 2
I think the problem is with 14 line of domake script:
When I removed that line I have got one more error:
/bin/sh domake
domake: 36: domake: Syntax error: "(" unexpected
Makefile:5: polecenia dla obiektu 'all' nie powiodły się
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Wed, 11 January 2017 13:01] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Tarball issues [message #47398 is a reply to message #47395] |
Thu, 12 January 2017 07:47   |
|
Hi amrein,
amrein wrote on Wed, 11 January 2017 22:42Question:
- When creating POSIX binary packages, where should I copy the dictionaries (like en-gb.scd and en-us.scd) for theide to pick them?
-> I can't put them in /usr/bin, even if I know that it will work.
-> theide doesn't find them in /usr/share/upp nor does it in /usr/share/upp/scd and I can't figure it out (where does theide search for those files at first start...).
Same problem as with the default GCC.bm... IIRC, I ended up putting it in /usr/share and copying it to $HOME/.upp/theide/ in the install step, which launches when the user first starts TheIDE. The dictionaries will be picked up by TheIDE when placed into the config directory. The unpleasant thing about this is, that it requires makeing this in code in TheIDE itself...
It would by great if U++ or at least TheIDE supported having global configuration in /etc and separate user configs that would overload the global settings. This is kind of standard behavior in posix world... But I think it would be pretty big change.
Best regards,
Honza
|
|
|
|
Re: Tarball issues [message #47401 is a reply to message #47394] |
Thu, 12 January 2017 09:10   |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi Amrein,
I can confirm a successful build and install from source tarball 10699M using the instructions (make and make install) in readme file on Linux Mint 18.1 (based on Ubuntu). It was a clean install on a machine which did not have even gcc installed. And actually I left gcc out intentionally to test the tarball with clang which worked out of the box just as expected.
Best regards,
Tom
|
|
|
Re: Tarball issues [message #47403 is a reply to message #47401] |
Thu, 12 January 2017 12:27   |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
Tested on a freshly installed TrueOS (based on FreeBSD).
After installing llvm39 and libnotify, make starts working. Making theide fails but umk gets built.
...
make[1]: don't know how to make ide/app.tpp/Aboutn-us.tppi. Stop
make[1]: stopped in /usr/home/tom/upp-x11-src-10699M/uppsrc
When compiling, strangely, the flags defined in compilation include flagGCC and flagLINUX, while compiling with CLANG on FreeBSD:
...
clang++ -c -x c++ -O3 -ffunction-sections -fdata-sections -Wno-logical-op-parentheses -std=c++11 -I./ -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/glib-2.0 -I/usr/X11R6/lib/glib-2.0/include -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/cairo -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -DflagGUI -DflagMT -DflagGCC -DflagSHARED -DflagLINUX -DflagPOSIX -DflagMAIN ide/BaseDlg.cpp -o _out/ide//home/cxl/Scripts/GCCMK.bm-Gcc-Gui-Linux-Main-Mt-Posix-Shared/BaseDlg.o
...
Using umk I tried to rebuild theide but linking fails at -lfontconfig. Fontconfig is installed, but does not get linked. The library resides below /usr/local/lib, but only /usr/lib is included in library path.
Best regards,
Tom
|
|
|
|
|
Re: Tarball issues [message #47409 is a reply to message #47406] |
Thu, 12 January 2017 23:06   |
 |
amrein
Messages: 278 Registered: August 2008 Location: France
|
Experienced Member |
|
|
You have "/home/cxl/" appended because Makefile.in and uMakefile.in were built on the U++ server using umk.
The corresponding script is svn/trunk/uppbox/Scripts/src.
Those lines are what you are looking for:
Quote:
cp -p ~/Scripts/GCCMK.bm ~/.upp/theide
~/bin/umk ~/upp.src/uppsrc ide ~/Scripts/GCCMK.bm -asrXk ~/upp.tmp/upp/uppsrc
mv ~/upp.tmp/upp/uppsrc/Makefile ~/upp.tmp/upp/uppsrc/Makefile.in
~/bin/umk ~/upp.src/uppsrc umk ~/Scripts/GCCMK.bm -asrXk ~/upp.tmp/upp/uppsrc
mv ~/upp.tmp/upp/uppsrc/Makefile ~/upp.tmp/upp/uppsrc/uMakefile.in
Those modifications should fix it:
Quote:
cp -p ~/Scripts/GCCMK.bm ~/.upp/theide
~/bin/umk ~/upp.src/uppsrc ide GCCMK -asrXk ~/upp.tmp/upp/uppsrc
mv ~/upp.tmp/upp/uppsrc/Makefile ~/upp.tmp/upp/uppsrc/Makefile.in
~/bin/umk ~/upp.src/uppsrc umk GCCMK -asrXk ~/upp.tmp/upp/uppsrc
mv ~/upp.tmp/upp/uppsrc/Makefile ~/upp.tmp/upp/uppsrc/uMakefile.in
Committing...
[Updated on: Thu, 12 January 2017 23:11] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Apr 29 09:32:27 CEST 2025
Total time taken to generate the page: 0.01598 seconds
|
|
|