Home » Developing U++ » Bugs (& fixes) » Problem with FreeBSD
Re: Problem with FreeBSD [message #47124 is a reply to message #47121] |
Thu, 15 December 2016 13:43   |
Sender Ghost
Messages: 301 Registered: November 2008
|
Senior Member |
|
|
Mindtraveller wrote on Wed, 14 December 2016 23:11Recently I've made fresh FreeBSD 11.0 installation. Exported my nightly-U++ based project with Makefile and tried to build it.
And finally I must say it really gives build error
...
Is there any solution? I was unable to find one from the discussion above.
The possible solution is to use gmake (from devel/gmake port) instead of make command to build exported U++ project with Makefile (on FreeBSD, at least). The same used in devel/upp FreeBSD port.
I reproduced mentioned issue on FreeBSD 10.2 with using make command. If comment the contents of build_info target in Makefile, then possible to use make command. Probably, some kind of GNU extension(s) was used in build_info target (Edit: this were quotes (') and unescaped characters (e.g. try to run `date '+#define bmYEAR %y%n' '#define bmMONTH %-m'` in console)).
Also, the build_info target is not thread-safe (i.e., not possible to use parallel builds, e.g. `gmake -j 2` command). There are some (sed) patches for uppsrc/Makefile(.in) in devel/upp-nightly port, which fixes this. For example:
sed -i '.bak' -e 's|^build_info|&.h| ; /^prepare/s| build_info|| ; s|^$(OutFile): |&build_info.h|' Makefile
The possible correct solution is to fix TheIDE source code, which related to exported Makefile.
[Updated on: Wed, 21 December 2016 00:14] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Jun 07 01:31:19 CEST 2025
Total time taken to generate the page: 0.04380 seconds
|