From: Roger M. <rm...@mu...> - 2014-12-18 16:18:45
|
Hello, I can build wxFormBuilder (3.5-beta) on FreeBSD10 if I hack create_build_files4.sh like this: ===== ... # Build premake cd build #make CONFIG=Release -C./premake/$platform # gmake CONFIG=Release -C./premake/$platform # ./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch codeblocks # ./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch $rpath codelite # ./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch $rpath gmake # if [ "$platform" = "macosx" ]; then # ./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch xcode3 # fi premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch $rpath gmake ===== i.e. use my system premake4 and don't pass in any options. When I try to pass in options, like this: ./create_build_files4.sh --rpath=/opt/local/lib/wxformbuilder I get errors: expr: illegal option -- - expr: usage: expr [-e] expression When I try to run the resulting binary in output/bin it always looks for resource files and libraries in /usr/local/{share,lib/wxformbuilder}. What must I do to get wxFormBuilder respect my wish to have the install in prefix /opt/local? Thanks, Roger |