AutonomyLab / ardrone_autonomy

ROS driver for Parrot AR-Drone 1.0 and 2.0 quadrocopters
http://wiki.ros.org/ardrone_autonomy
BSD 3-Clause "New" or "Revised" License
357 stars 226 forks source link

Fail to build on Mac OSX #128

Open AlvarHHM opened 9 years ago

AlvarHHM commented 9 years ago

I was building on ROS indigo on OSX 10.10

/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/P264'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/P264'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/P263'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/P263'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/P263'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/P263'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/P263'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)'
make[8]: Circular ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple <- ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple dependency dropped.
make[8]: Circular ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple <- LLVM dependency dropped.
make[8]: Circular version <- ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple dependency dropped.
make[8]: Circular version <- LLVM dependency dropped.
make[8]: Circular version <- version dependency dropped.
make[8]: Circular 6.0 <- ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple dependency dropped.
make[8]: Circular 6.0 <- LLVM dependency dropped.
make[8]: Circular 6.0 <- version dependency dropped.
make[8]: Circular 6.0 <- 6.0 dependency dropped.
make[8]: Circular (clang-600.0.54) <- ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple dependency /bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)'
dropped.
make[8]: Circular (clang-600.0.54) <- LLVM dependency dropped.
make[8]: Circular (clang-600.0.54) <- version dependency dropped.
make[8]: Circular (clang-600.0.54) <- 6.0 dependency dropped.
make[8]: Circular (clang-600.0.54) <- (clang-600.0.54) dependency dropped.
make[8]: Circular (based <- ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple dependency dropped.
make[8]: Circular (based <- LLVM dependency dropped.
make[8]: Circular (based <- version dependency dropped.
make[8]: Circular (based <- 6.0 dependency dropped.
make[8]: Circular (based <- (clang-600.0.54) dependency dropped.
make[8]: Circular (based <- (based dependency dropped.
make[8]: Circular on <- ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple dependency dropped.
make[8]: Circular on <- LLVM dependency dropped.
make[8]: Circular on <- version dependency dropped.
make[8]: Circular on <- 6.0 dependency dropped.
make[8]: Circular on <- (clang-600.0.54) dependency dropped.
make[8]: Circular on <- (based dependency dropped.
make[8]: Circular on <- on dependency dropped.
make[8]: Circular on <- LLVM dependency dropped.
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Com/linux'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Com'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Com'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Com/linux'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Com/linux'
make[8]: *** No rule to make target `../../Soft/Build/targets_versions/vlib_PROD_MODE__usrbingcc_Apple', needed by `all'.  Stop.
make[8]: *** Waiting for unfinished jobs....
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Com/linux'
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `rm -f /build.log ../../Soft/Build/targets_versions/vlib_PROD_MODE__usrbingcc_Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)/build.log'
make[8]: *** [clean_log] Error 2
make[7]: *** [all] Error 2
make[6]: *** [build_vlib] Error 2
make[6]: *** Waiting for unfinished jobs....
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Os/linux'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Os/linux'
/bin/sh: -c:/bin/sh: -c: line 0: syntax error near unexpected token `)'
 line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Com/linux'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Com'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Os/linux'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/ATcodec'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/ATcodec'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/ATcodec'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/ATcodec'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/ATcodec'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/ATcodec'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Stages'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Stages'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Stages'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Stages'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Stages'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Stages'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Stages'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Stages'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Api'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Api'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Api'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Api'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Api'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Api'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Api'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Os'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `mkdir -p 3.5svn)/VP_Os'
make[8]: *** No rule to make target `../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple', needed by `all'.  Stop.
make[8]: *** Waiting for unfinished jobs....
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `rm -f ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)/build.log ../../Soft/Build/targets_versions/sdk_PROD_MODE_vlib__usrbingcc_Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)/build.log'
make[8]: *** [clean_log] Error 2
make[7]: *** [all] Error 2
make[6]: *** [build_sdk] Error 2
make[5]: *** [all] Error 2
make[4]: *** [build_libs] Error 2
make[3]: *** [all] Error 2
make[2]: *** [ardrone/src/ardronelib-stamp/ardronelib-build] Error 2
make[1]: *** [ardrone_autonomy/CMakeFiles/ardronelib.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failed

I guess it is because some shell script try to create folder which has bracket in its name. Putting a pair of double quotation marks around the folder name should fix the problem

mani-monaj commented 9 years ago

Have you tried compiling ardronelib in isolation on Mac OS? https://github.com/AutonomyLab/ardronelib

AlvarHHM commented 9 years ago

Yes, it still not work I have located one place in the MakeFile that quotation mark are missing, but there are still more.

mani-monaj commented 9 years ago

Great, could you please move this issue to this repo https://github.com/AutonomyLab/ardronelib and update it with partial solutions you've found so far?

buqing2009 commented 9 years ago

I have the same problem. Can anyone help fix it?

msurtsukov commented 9 years ago

The same problem, I would be glad if someone shares the solution.

mani-monaj commented 9 years ago

Related: AutonomyLab/ardronelib#6