makefile - Directory change error with mingw32-make -


i'm building poco library 1.6.0 under mingw32, environment: windows 7 ultimate 32-bit, shell: msys. executed ./configure.

$ ./configure configured mingw 

contents of config.make:

poco_config = mingw poco_base = /c/dev/poco poco_build = /c/dev/poco poco_prefix = /usr/local poco_flags =  omit =  export poco_config export poco_base export poco_build export poco_prefix export poco_flags 

after launching mingw32-make i'm getting:

$ mingw32-make --debug -w gnu make 3.82 built i386-pc-mingw32 copyright (c) 2010  free software foundation, inc. license gplv3+: gnu gpl version 3 or later <http://gnu.org/licenses/gpl.html> free software: free change , redistribute it. there no warranty, extent permitted law. reading makefiles... updating goal targets....  file `poco' not exist.    file `libexecs' not exist.      file `foundation-libexec' not exist.     must remake target `foundation-libexec'. invoking recipe makefile:69 update target `foundation-libexec'. mingw32-make: entering directory `c:/dev/poco' c:/app/mingw/bin/mingw32-make -d -c /c/dev/poco/foundation gnu make 3.82 built i386-pc-mingw32 copyright (c) 2010  free software foundation, inc. license gplv3+: gnu gpl version 3 or later <http://gnu.org/licenses/gpl.html> free software: free change , redistribute it. there no warranty, extent permitted law. mingw32-make: entering unknown directory mingw32-make: *** /c/dev/poco/foundation: no such file or directory.  stop. mingw32-make: leaving unknown directory mingw32-make: *** [foundation-libexec] error 2 mingw32-make: leaving directory `c:/dev/poco' 

the problem in

mingw32-make: entering unknown directory mingw32-make: *** /c/dev/poco/foundation: no such file or directory.  stop. 

because /c/dev/poco/foundation exist:

$ ls changelog       license   version                  build_vs110.cmd  config.make cmakelists.txt  manifest  xml                      build_vs120.cmd  configure contributors    makefile  build                    build_vs90.cmd   contrib cppunit         news      build_ce_vs90.cmd        buildwin.cmd     doc dllversion.rc   net       build_vcexpress2008.cmd  cmake            libversion foundation      readme    build_vcexpress2010.cmd  components       patches json            util      build_vs100.cmd          config.build 

i modifying makefile change directory other sub-folders, no joy. seems prevents mingw32-make changing directory. can confirm that

cd /c/dev/poco/foundation 

works fine.

tried make, result same:

$ make --debug -w gnu make 3.82 built i386-pc-mingw32 copyright (c) 2010  free software foundation, inc. license gplv3+: gnu gpl version 3 or later <http://gnu.org/licenses/gpl.html> free software: free change , redistribute it. there no warranty, extent permitted law. reading makefiles... updating goal targets....  file `poco' not exist.    file `libexecs' not exist.      file `foundation-libexec' not exist.     must remake target `foundation-libexec'. invoking recipe makefile:69 update target `foundation-libexec'. make: entering directory `c:/dev/poco' c:/app/mingw/msys/1.0/bin/make -d -c /c/dev/poco/foundation gnu make 3.82 built i386-pc-mingw32 copyright (c) 2010  free software foundation, inc. license gplv3+: gnu gpl version 3 or later <http://gnu.org/licenses/gpl.html> free software: free change , redistribute it. there no warranty, extent permitted law. make: entering unknown directory make: *** /c/dev/poco/foundation: no such file or directory.  stop. make: leaving unknown directory make: *** [foundation-libexec] error 2 make: leaving directory `c:/dev/poco' 

there no obvious reasons mingw32-make fail path not have spaces.

what have missed? suggestions welcome.

the path /c/dev/poco/foundation not mean seem think, in context of mingw32-make.exe. see, mingw32-make.exe native windows application, definitely not understand msys specific path such /c/dev/poco/foundation; rather, interpret "as is", c:/c/dev/poco/foundation, (assuming current working drive c:), i'm sure not intended.

you seem using msys shell, why using mingw32-make.exe anyway? use make.exe msys provides; understand msys paths.

do note that, if run make --version msys shell, should see, (at time of writing):

$ make --version gnu make 3.81 copyright (c) 2006  free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose.  program built i686-pc-msys 

in updated question, show example of running make.exe, not msys version; appears you have placed alternative version of make.exe -- perhaps copy of mingw32-make.exe itself, output identical -- in directory precedes msys version in $path. should delete non-msys version of make.exe; entire purpose in calling mingw version mingw32-make.exe avoid conflict. when run make msys shell, want msys version, , not mingw32-make.exe clone.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -