Home » Developing U++ » Bugs (& fixes) » Problem with FreeBSD
Re: Problem with FreeBSD [message #47318 is a reply to message #47307] |
Wed, 04 January 2017 09:12 |
Sender Ghost
Messages: 301 Registered: November 2008
|
Senior Member |
|
|
amrein wrote on Tue, 03 January 2017 12:40You still need to run 'make prepare -C uppsrc' first
This is different issue, which you probably encountered with running many threads, while no directories created in prepare step, but some file was built first.
I guess, possible to fix this issue with addition of dependencies to prepare rule on directories to create. For example, based on uppsrc/umk:
Some example
prepare: \
$(OutDir_umk) \
$(OutDir_ide_Builders) \
$(OutDir_ide_Core) \
$(OutDir_ide_Android) \
$(OutDir_ide_Java) \
$(OutDir_Esc) \
$(OutDir_plugin_bz2) \
$(OutDir_Core) \
$(OutDir_plugin_pcre)
$(OutDir_umk):
mkdir -p $(OutDir_umk)
$(OutDir_ide_Builders):
mkdir -p $(OutDir_ide_Builders)
$(OutDir_ide_Core):
mkdir -p $(OutDir_ide_Core)
$(OutDir_ide_Android):
mkdir -p $(OutDir_ide_Android)
$(OutDir_ide_Java):
mkdir -p $(OutDir_ide_Java)
$(OutDir_Esc):
mkdir -p $(OutDir_Esc)
$(OutDir_plugin_bz2):
mkdir -p $(OutDir_plugin_bz2)
$(OutDir_Core):
mkdir -p $(OutDir_Core)
$(OutDir_plugin_pcre):
mkdir -p $(OutDir_plugin_pcre)
I attached a patch (based on 10617 revision of uppsrc/ide/Builders/Build.cpp file), which adds this for exported Makefile.
How to apply the patch, just in case:
$ cd path/to/upp
$ patch -B '' < uppsrc_prepare_r10617.diff
You may need to rebuild uppsrc/umk or uppsrc/ide and do your own export/build to test this patch.
[Updated on: Wed, 04 January 2017 09:17] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun May 19 20:24:00 CEST 2024
Total time taken to generate the page: 0.00675 seconds
|