Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to 'wrapper_dnrm2_' 'wrapper_dasum_' #477

Closed
couragelfyang opened this issue Nov 20, 2015 · 20 comments
Closed

undefined reference to 'wrapper_dnrm2_' 'wrapper_dasum_' #477

couragelfyang opened this issue Nov 20, 2015 · 20 comments

Comments

@couragelfyang
Copy link

Linking CXX executable ../../../../bin/adaboost
../../../../lib/libmlpack.so.1.0: undefined reference to 'wrapper_dnrm2_'
../../../../lib/libmlpack.so.1.0: undefined reference to 'wrapper_dasum_'
collect2: error: ld returned 1 exit status

and how to fix this?

@rcurtin
Copy link
Member

rcurtin commented Nov 20, 2015

Hi, can you please provide a more complete build log? The CMake output would be very helpful, too. Also, how do you have Armadillo configured? (i.e. is ARMA_USE_WRAPPER enabled?) Thanks!

@couragelfyang
Copy link
Author

Hi,
I make armadillo and mlpack again, and now I get a new issue.
"""
/bin/sh: 1: /home/asuka/Documents/mlpack/CMake/allexec2man.sh: not found
CMakeFiles/man.dir/build.make:77: recipe for target 'CMakeFiles/man' failed

but allexec2man.sh exists.
Attach my CMakeOutput.log

On 11/20/2015 09:55 PM, Ryan Curtin wrote:

Hi, can you please provide a more complete build log? The CMake output
would be very helpful, too. Also, how do you have Armadillo
configured? (i.e. is |ARMA_USE_WRAPPER| enabled?) Thanks!


Reply to this email directly or view it on GitHub
#477 (comment).

*/Cordially,/
/Longfei Yang/

@rcurtin
Copy link
Member

rcurtin commented Nov 23, 2015

Hi there,

Can you provide more information about what you are doing (i.e. what commands you are using)? Try removing your mlpack sources entirely and starting over. If allexec2man.sh doesn't exist, something has gone wrong somewhere. If you can get back to having the original issue you mentioned, we can debug that better then.

@couragelfyang
Copy link
Author

Hi,
I used mkdir build create a directory build and cd build, then
cmake ../, the issue I first mentioned after recompiling armadillo
disappeared.
So now I encount allexec2man.sh not found error, but I have checked
the directory, allexec2man.sh exists correctly.

On 2015/11/23 21:29, Ryan Curtin wrote:

Hi there,

Can you provide more information about what you are doing (i.e. what
commands you are using)? Try removing your mlpack sources entirely and
starting over. If |allexec2man.sh| doesn't exist, something has gone
wrong somewhere. If you can get back to having the original issue you
mentioned, we can debug that better then.


Reply to this email directly or view it on GitHub
#477 (comment).

*/Cordially,/
/Longfei Yang/

@rcurtin
Copy link
Member

rcurtin commented Nov 23, 2015

So, if you restart with a clean environment, i.e. remove your mlpack directory, git clone again, then reconfigure and build, does allexec2man.sh still not exist?

@couragelfyang
Copy link
Author

I just recompiling armadillo again, now there is no error: wrapper_dnrm2_.

On 2015/11/23 22:03, Ryan Curtin wrote:

So, if you restart with a clean environment, i.e. remove your mlpack
directory, git clone again, then reconfigure and build, does
|allexec2man.sh| still not exist?


Reply to this email directly or view it on GitHub
#477 (comment).

*/Cordially,/
/Longfei Yang/

@rcurtin
Copy link
Member

rcurtin commented Nov 23, 2015

So there is no problem and I can close this issue? Or is there something to investigate?

@couragelfyang
Copy link
Author

There's no problem in this issue. So how to solve error: allexec2man.sh not found?

On 2015/11/23 22:13, Ryan Curtin wrote:

So there is no problem and I can close this issue? Or is there
something to investigate?


Reply to this email directly or view it on GitHub
#477 (comment).

*/Cordially,/
/Longfei Yang/

@rcurtin
Copy link
Member

rcurtin commented Nov 23, 2015

Did you restart with a clean environment? allexec2man.sh is a file that is part of the git repository, and there is no CMake rule that should remove it. My guess is that you've removed it by accident somehow.

@couragelfyang
Copy link
Author

I git clone mlpack again and still can't find allexec2man.sh

On 2015/11/23 22:18, Ryan Curtin wrote:

Did you restart with a clean environment? |allexec2man.sh| is a file
that is part of the git repository, and there is no CMake rule that
should remove it. My guess is that you've removed it by accident somehow.


Reply to this email directly or view it on GitHub
#477 (comment).

*/Cordially,/
/Longfei Yang/

@rcurtin
Copy link
Member

rcurtin commented Nov 23, 2015

Does the file exist inside of your git repository? You're not providing very much information here, so it's hard for me to figure out what is going on. What would be preferable is this:

  • a detailed log of how to reproduce the error (from a clean start)
  • information on your system (what OS, what version of CMake)
  • your CMakeCache.txt and all of the output from cmake ../
  • whether or not allexec2man.sh exists in the right place on the system (/home/asuka/Documents/mlpack/CMake/allexec2man.sh?)

If you can get me all of that information, it'd be helpful for figuring out what is going on here; thanks.

@couragelfyang
Copy link
Author

Attach:
cmake.log contain a detailed log of cmake
make.log contain a detailed log of make
my OS information:
result of uname -a: Linux Host 3.16.0-4-amd64 #1 SMP Debian
3.16.7-ckt11-1+deb8u6 x86_64 GNU/Linux
cmake version: 3.0.2

And I'm sure allexec2man.sh exists in the right place.

On 2015/11/23 22:48, Ryan Curtin wrote:

Does the file exist inside of your git repository? You're not
providing very much information here, so it's hard for me to figure
out what is going on. What would be preferable is this:

  • a detailed log of how to reproduce the error (from a clean start)
  • information on your system (what OS, what version of CMake)
  • your CMakeCache.txt and all of the output from |cmake ../|
  • whether or not |allexec2man.sh| exists in the right place on the
    system (|/home/asuka/Documents/mlpack/CMake/allexec2man.sh|?)

If you can get me all of that information, it'd be helpful for
figuring out what is going on here; thanks.


Reply to this email directly or view it on GitHub
#477 (comment).

*/Cordially,/
/Longfei Yang/

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Checking for C++11 compiler
-- Checking for C++11 compiler - available
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Found Armadillo: /usr/lib/libarmadillo.so (found suitable version "6.200.4", minimum required is "3.6.0")
-- Armadillo libraries: /usr/lib/libarmadillo.so
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- program_options
-- unit_test_framework
-- serialization
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Found Git: /usr/bin/git (found version "2.1.4")
-- gitversion.hpp is already up to date.
CMake Warning (dev) at src/mlpack/CMakeLists.txt:85 (add_custom_target):
Policy CMP0037 is not set: Target names should not be reserved and should
match a validity pattern. Run "cmake --help-policy CMP0037" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

The target name "test" is reserved or not valid for certain CMake features,
such as generator expressions, and may result in undefined behavior.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found Doxygen: /usr/bin/doxygen (found version "1.8.8")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/asuka/Documents/mlpack/build

This is the CMakeCache file.

For build in directory: /home/asuka/Documents/mlpack/build

It was generated by CMake: /usr/bin/cmake

You can edit this file to change values found and used by cmake.

If you do not want to change any of the values, simply exit the editor.

If you do want to change a value, simply edit, save, and exit the editor.

The syntax for the file is as follows:

KEY:TYPE=VALUE

KEY is the name of a variable in the cache.

TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.

VALUE is the current value for the KEY.

########################

EXTERNAL cache entries

########################

//Path to a file.
ARMADILLO_INCLUDE_DIR:PATH=/usr/include

//Path to a library.
ARMADILLO_LIBRARY:FILEPATH=/usr/lib/libarmadillo.so

//Compile with extra Armadillo debugging symbols.
ARMA_EXTRA_DEBUG:BOOL=OFF

//Header
//\n providing backtrace(3) facility
Backtrace_HEADER:STRING=execinfo.h

//Path to a file.
Backtrace_INCLUDE_DIR:PATH=/usr/include

//Library providing backtrace(3),
//\n empty for default set of libraries
Backtrace_LIBRARY:FILEPATH=

//The directory containing a CMake configuration file for Boost.
Boost_DIR:PATH=Boost_DIR-NOTFOUND

//Path to a file.
Boost_INCLUDE_DIR:PATH=/usr/include

//Boost library directory
Boost_LIBRARY_DIR:PATH=/usr/lib/x86_64-linux-gnu

//Boost program_options library (debug)
Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_program_options.so

//Boost program_options library (release)
Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_program_options.so

//Boost serialization library (debug)
Boost_SERIALIZATION_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_serialization.so

//Boost serialization library (release)
Boost_SERIALIZATION_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_serialization.so

//Boost unit_test_framework library (debug)
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so

//Boost unit_test_framework library (release)
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
CMAKE_BUILD_TYPE:STRING=

//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON

//CXX compiler.
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release builds for minimum
// size.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during release builds with debug info.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//C compiler.
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc

//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release builds for minimum
// size.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during release builds with debug info.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=' '

//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local

//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make

//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=' '

//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=mlpack

//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=' '

//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip

//If true, cmake will use relative paths in makefiles and projects.
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//Compile with debugging information
DEBUG:BOOL=ON

//Graphviz Dot tool for using Doxygen
DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND

//Doxygen documentation generation tool (http://www.doxygen.org)
DOXYGEN_EXECUTABLE:FILEPATH=/usr/bin/doxygen

//git command line client
GIT_EXECUTABLE:FILEPATH=/usr/bin/git

//Compile MATLAB bindings if MATLAB is found.
MATLAB_BINDINGS:BOOL=OFF

//C++ compiler flags for OpenMP parallization
OpenMP_CXX_FLAGS:STRING=-fopenmp

//C compiler flags for OpenMP parallization
OpenMP_C_FLAGS:STRING=-fopenmp

//Compile with profiling information
PROFILE:BOOL=ON

//Run test cases with verbose output.
TEST_VERBOSE:BOOL=OFF

//Path to a program.
TXT2MAN:FILEPATH=/usr/bin/txt2man

//Value Computed by CMake
mlpack_BINARY_DIR:STATIC=/home/asuka/Documents/mlpack/build

//Dependencies for the target
mlpack_LIB_DEPENDS:STATIC=general;/usr/lib/libarmadillo.so;general;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;general;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;general;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;general;rt;

//Value Computed by CMake
mlpack_SOURCE_DIR:STATIC=/home/asuka/Documents/mlpack

########################

INTERNAL cache entries

########################

//ADVANCED property for variable: ARMADILLO_INCLUDE_DIR
ARMADILLO_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ARMADILLO_LIBRARY
ARMADILLO_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Backtrace_HEADER
Backtrace_HEADER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Backtrace_INCLUDE_DIR
Backtrace_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Backtrace_LIBRARY
Backtrace_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_DIR
Boost_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_INCLUDE_DIR
Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_LIBRARY_DIR
Boost_LIBRARY_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG
Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE
Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_SERIALIZATION_LIBRARY_DEBUG
Boost_SERIALIZATION_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_SERIALIZATION_LIBRARY_RELEASE
Boost_SERIALIZATION_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/asuka/Documents/mlpack/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=0
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/asuka/Documents/mlpack
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=68
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.0
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/bin/uname
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_EXECUTABLE
DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1
//Details about finding Armadillo
FIND_PACKAGE_MESSAGE_DETAILS_Armadillo:INTERNAL=[/usr/lib/libarmadillo.so][/usr/include][v6.200.4(3.6.0)]
//Details about finding Backtrace
FIND_PACKAGE_MESSAGE_DETAILS_Backtrace:INTERNAL=[/usr/include][v()]
//Details about finding Doxygen
FIND_PACKAGE_MESSAGE_DETAILS_Doxygen:INTERNAL=[/usr/bin/doxygen][v1.8.8()]
//Details about finding Git
FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[/usr/bin/git][v2.1.4()]
//Details about finding OpenMP
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP:INTERNAL=[-fopenmp][-fopenmp][v()]
//ADVANCED property for variable: GIT_EXECUTABLE
GIT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenMP_CXX_FLAGS
OpenMP_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenMP_C_FLAGS
OpenMP_C_FLAGS-ADVANCED:INTERNAL=1
//Test OpenMP_FLAG_DETECTED
OpenMP_FLAG_DETECTED:INTERNAL=1
//Have symbol backtrace
_Backtrace_SYM_FOUND:INTERNAL=1
//Last used Boost_ADDITIONAL_VERSIONS value.
_Boost_ADDITIONAL_VERSIONS_LAST:INTERNAL=1.49.0;1.50.0;1.51.0;1.52.0;1.53.0;1.54.0;1.55.0
//Components requested for this build tree.
_Boost_COMPONENTS_SEARCHED:INTERNAL=program_options;serialization;unit_test_framework
//Last used Boost_INCLUDE_DIR value.
_Boost_INCLUDE_DIR_LAST:INTERNAL=/usr/include
//Last used Boost_LIBRARY_DIR value.
_Boost_LIBRARY_DIR_LAST:INTERNAL=/usr/lib/x86_64-linux-gnu
//Last used Boost_NAMESPACE value.
_Boost_NAMESPACE_LAST:INTERNAL=boost
//Last used Boost_USE_MULTITHREADED value.
_Boost_USE_MULTITHREADED_LAST:INTERNAL=TRUE

Scanning dependencies of target mlpack_arma_config
[ 1%] Updating arma_config.hpp (if necessary)
-- Regenerating arma_config.hpp.
[ 1%] Built target mlpack_arma_config
Scanning dependencies of target mlpack_gitversion
[ 2%] Updating gitversion.hpp (if necessary)
-- Found Git: /usr/bin/git (found version "2.1.4")
-- gitversion.hpp is already up to date.
[ 2%] Built target mlpack_gitversion
Scanning dependencies of target mlpack_headers
Moving header files to include/mlpack/
[ 2%] Built target mlpack_headers
Scanning dependencies of target mlpack
[ 3%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/dists/discrete_distribution.cpp.o
[ 3%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/dists/gaussian_distribution.cpp.o
[ 4%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/dists/laplace_distribution.cpp.o
[ 5%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/dists/regression_distribution.cpp.o
[ 5%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/kernels/epanechnikov_kernel.cpp.o
[ 6%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/kernels/pspectrum_string_kernel.cpp.o
[ 7%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/math/lin_alg.cpp.o
[ 8%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/math/random.cpp.o
[ 8%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/math/random_basis.cpp.o
[ 9%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/optimizers/aug_lagrangian/aug_lagrangian_test_functions.cpp.o
[ 10%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/optimizers/lbfgs/test_functions.cpp.o
[ 10%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/optimizers/sgd/test_function.cpp.o
[ 11%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/tree/cosine_tree/cosine_tree.cpp.o
[ 12%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/util/cli.cpp.o
[ 12%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/util/cli_deleter.cpp.o
[ 13%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/util/log.cpp.o
[ 14%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/util/option.cpp.o
[ 15%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/util/prefixedoutstream.cpp.o
[ 15%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/util/string_util.cpp.o
[ 16%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/util/timers.cpp.o
[ 17%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/util/version.cpp.o
[ 17%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/det/dtree.cpp.o
[ 18%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/det/dt_utils.cpp.o
[ 19%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/lars/lars.cpp.o
[ 19%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/linear_regression/linear_regression.cpp.o
[ 20%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/matrix_completion/matrix_completion.cpp.o
[ 21%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/neighbor_search/sort_policies/nearest_neighbor_sort.cpp.o
[ 22%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/neighbor_search/sort_policies/furthest_neighbor_sort.cpp.o
[ 22%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/neighbor_search/unmap.cpp.o
[ 23%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/pca/pca.cpp.o
[ 24%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/radical/radical.cpp.o
[ 24%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/range_search/rs_model.cpp.o
[ 25%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/rann/ra_util.cpp.o
[ 26%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/regularized_svd/regularized_svd_function.cpp.o
[ 26%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/softmax_regression/softmax_regression_function.cpp.o
[ 27%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/sparse_autoencoder/sparse_autoencoder_function.cpp.o
Linking CXX shared library ../../lib/libmlpack.so
[ 27%] Built target mlpack
Scanning dependencies of target sparse_coding
[ 28%] Building CXX object src/mlpack/methods/sparse_coding/CMakeFiles/sparse_coding.dir/sparse_coding_main.cpp.o
Linking CXX executable ../../../../bin/sparse_coding
[ 28%] Built target sparse_coding
Scanning dependencies of target cf
[ 29%] Building CXX object src/mlpack/methods/cf/CMakeFiles/cf.dir/cf_main.cpp.o
Linking CXX executable ../../../../bin/cf
[ 29%] Built target cf
Scanning dependencies of target decision_stump
[ 30%] Building CXX object src/mlpack/methods/decision_stump/CMakeFiles/decision_stump.dir/decision_stump_main.cpp.o
Linking CXX executable ../../../../bin/decision_stump
[ 30%] Built target decision_stump
Scanning dependencies of target det
[ 30%] Building CXX object src/mlpack/methods/det/CMakeFiles/det.dir/det_main.cpp.o
Linking CXX executable ../../../../bin/det
[ 30%] Built target det
Scanning dependencies of target emst
[ 30%] Building CXX object src/mlpack/methods/emst/CMakeFiles/emst.dir/emst_main.cpp.o
Linking CXX executable ../../../../bin/emst
[ 30%] Built target emst
Scanning dependencies of target fastmks
[ 31%] Building CXX object src/mlpack/methods/fastmks/CMakeFiles/fastmks.dir/fastmks_main.cpp.o
Linking CXX executable ../../../../bin/fastmks
[ 31%] Built target fastmks
Scanning dependencies of target gmm
[ 32%] Building CXX object src/mlpack/methods/gmm/CMakeFiles/gmm.dir/gmm_main.cpp.o
Linking CXX executable ../../../../bin/gmm
[ 32%] Built target gmm
Scanning dependencies of target hmm_train
[ 34%] Building CXX object src/mlpack/methods/hmm/CMakeFiles/hmm_train.dir/hmm_train_main.cpp.o
Linking CXX executable ../../../../bin/hmm_train
[ 34%] Built target hmm_train
Scanning dependencies of target hmm_loglik
[ 34%] Building CXX object src/mlpack/methods/hmm/CMakeFiles/hmm_loglik.dir/hmm_loglik_main.cpp.o
Linking CXX executable ../../../../bin/hmm_loglik
[ 34%] Built target hmm_loglik
Scanning dependencies of target hmm_viterbi
[ 35%] Building CXX object src/mlpack/methods/hmm/CMakeFiles/hmm_viterbi.dir/hmm_viterbi_main.cpp.o
Linking CXX executable ../../../../bin/hmm_viterbi
[ 35%] Built target hmm_viterbi
Scanning dependencies of target hmm_generate
[ 36%] Building CXX object src/mlpack/methods/hmm/CMakeFiles/hmm_generate.dir/hmm_generate_main.cpp.o
Linking CXX executable ../../../../bin/hmm_generate
[ 36%] Built target hmm_generate
Scanning dependencies of target kernel_pca
[ 36%] Building CXX object src/mlpack/methods/kernel_pca/CMakeFiles/kernel_pca.dir/kernel_pca_main.cpp.o
Linking CXX executable ../../../../bin/kernel_pca
[ 36%] Built target kernel_pca
Scanning dependencies of target kmeans
[ 37%] Building CXX object src/mlpack/methods/kmeans/CMakeFiles/kmeans.dir/kmeans_main.cpp.o
Linking CXX executable ../../../../bin/kmeans
[ 37%] Built target kmeans
Scanning dependencies of target lars
[ 38%] Building CXX object src/mlpack/methods/lars/CMakeFiles/lars.dir/lars_main.cpp.o
Linking CXX executable ../../../../bin/lars
[ 38%] Built target lars
Scanning dependencies of target linear_regression
[ 38%] Building CXX object src/mlpack/methods/linear_regression/CMakeFiles/linear_regression.dir/linear_regression_main.cpp.o
Linking CXX executable ../../../../bin/linear_regression
[ 38%] Built target linear_regression
Scanning dependencies of target local_coordinate_coding
[ 39%] Building CXX object src/mlpack/methods/local_coordinate_coding/CMakeFiles/local_coordinate_coding.dir/lcc_main.cpp.o
Linking CXX executable ../../../../bin/local_coordinate_coding
[ 39%] Built target local_coordinate_coding
Scanning dependencies of target logistic_regression
[ 40%] Building CXX object src/mlpack/methods/logistic_regression/CMakeFiles/logistic_regression.dir/logistic_regression_main.cpp.o
Linking CXX executable ../../../../bin/logistic_regression
[ 40%] Built target logistic_regression
Scanning dependencies of target lsh
[ 41%] Building CXX object src/mlpack/methods/lsh/CMakeFiles/lsh.dir/lsh_main.cpp.o
Linking CXX executable ../../../../bin/lsh
[ 41%] Built target lsh
Scanning dependencies of target nbc
[ 41%] Building CXX object src/mlpack/methods/naive_bayes/CMakeFiles/nbc.dir/nbc_main.cpp.o
Linking CXX executable ../../../../bin/nbc
[ 41%] Built target nbc
Scanning dependencies of target nca
[ 42%] Building CXX object src/mlpack/methods/nca/CMakeFiles/nca.dir/nca_main.cpp.o
Linking CXX executable ../../../../bin/nca
[ 42%] Built target nca
Scanning dependencies of target nmf
[ 43%] Building CXX object src/mlpack/methods/nmf/CMakeFiles/nmf.dir/nmf_main.cpp.o
Linking CXX executable ../../../../bin/nmf
[ 43%] Built target nmf
Scanning dependencies of target allknn
[ 44%] Building CXX object src/mlpack/methods/neighbor_search/CMakeFiles/allknn.dir/allknn_main.cpp.o
Linking CXX executable ../../../../bin/allknn
[ 44%] Built target allknn
Scanning dependencies of target allkfn
[ 45%] Building CXX object src/mlpack/methods/neighbor_search/CMakeFiles/allkfn.dir/allkfn_main.cpp.o
Linking CXX executable ../../../../bin/allkfn
[ 45%] Built target allkfn
Scanning dependencies of target pca
[ 45%] Building CXX object src/mlpack/methods/pca/CMakeFiles/pca.dir/pca_main.cpp.o
Linking CXX executable ../../../../bin/pca
[ 45%] Built target pca
Scanning dependencies of target perceptron
[ 46%] Building CXX object src/mlpack/methods/perceptron/CMakeFiles/perceptron.dir/perceptron_main.cpp.o
Linking CXX executable ../../../../bin/perceptron
[ 46%] Built target perceptron
Scanning dependencies of target radical
[ 47%] Building CXX object src/mlpack/methods/radical/CMakeFiles/radical.dir/radical_main.cpp.o
Linking CXX executable ../../../../bin/radical
[ 47%] Built target radical
Scanning dependencies of target range_search
[ 47%] Building CXX object src/mlpack/methods/range_search/CMakeFiles/range_search.dir/range_search_main.cpp.o
Linking CXX executable ../../../../bin/range_search
[ 47%] Built target range_search
Scanning dependencies of target allkrann
[ 47%] Building CXX object src/mlpack/methods/rann/CMakeFiles/allkrann.dir/allkrann_main.cpp.o
Linking CXX executable ../../../../bin/allkrann
[ 47%] Built target allkrann
Scanning dependencies of target softmax_regression
[ 48%] Building CXX object src/mlpack/methods/softmax_regression/CMakeFiles/softmax_regression.dir/softmax_regression_main.cpp.o
Linking CXX executable ../../../../bin/softmax_regression
[ 48%] Built target softmax_regression
Scanning dependencies of target man
[ 48%] Generating man pages from built executables.
/bin/sh: 1: /home/asuka/Documents/mlpack/CMake/allexec2man.sh: not found
CMakeFiles/man.dir/build.make:77: recipe for target 'CMakeFiles/man' failed
make[2]: *** [CMakeFiles/man] Error 127
CMakeFiles/Makefile2:150: recipe for target 'CMakeFiles/man.dir/all' failed
make[1]: *** [CMakeFiles/man.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

@rcurtin
Copy link
Member

rcurtin commented Nov 25, 2015

I've spent a little while thinking about this. This one is a bit baffling...

What happens if you type /home/asuka/Documents/mlpack/CMake/allexec2man.sh into a terminal? (i.e. try to run the allexec2man.sh script) Does it run, or issue an error?

@couragelfyang
Copy link
Author

Attach my output of allexec2man.sh.
first I run allexec2man.sh, error is /bin/nash^m: bad interpreter,
after I run dos2unix allexec2man, then this log generated.

On 2015/11/25 22:30, Ryan Curtin wrote:

I've spent a little while thinking about this. This one is a bit
baffling...

What happens if you type
|/home/asuka/Documents/mlpack/CMake/allexec2man.sh| into a terminal?
(i.e. try to run the allexec2man.sh script) Does it run, or issue an
error?


Reply to this email directly or view it on GitHub
#477 (comment).

*/Cordially,/
/Longfei Yang/

mkdir: cannot create directory ‘’: No such file or directory
Generating man page for allexec2man.sh...
./allexec2man.sh: line 20: : command not found
gzip: /allexec2man.sh.1: No such file or directory
Generating man page for exec2man.sh...
./allexec2man.sh: line 20: : command not found
gzip: /exec2man.sh.1: No such file or directory

@rcurtin
Copy link
Member

rcurtin commented Nov 25, 2015

Huh, why is it trying to use bin/nash? Is /bin/bash symlinked to /bin/nash for some reason?

Also, now that you have run dos2unix allexec2man.sh, does the build still fail?

@couragelfyang
Copy link
Author

Yes, after I run dos2unix allexec2man.sh, I also get the error?
And I did not link /bin/bash to /bin/nash, I did not install nash..

On 2015/11/25 23:06, Ryan Curtin wrote:

Huh, why is it trying to use |bin/nash|? Is |/bin/bash| symlinked to
|/bin/nash| for some reason?

Also, now that you have run |dos2unix allexec2man.sh|, does the build
still fail?


Reply to this email directly or view it on GitHub
#477 (comment).

*/Cordially,/
/Longfei Yang/

@rcurtin
Copy link
Member

rcurtin commented Nov 30, 2015

I think the issue here is that /bin/nash is not a suitable replacement for /bin/bash. Is it possible on your system to install bash and then try again with that? (i.e. make it so /bin/bash is its own executable, instead of a symlink to /bin/nash)

@couragelfyang
Copy link
Author

Well, I really did not install nash and I don't know what nash is.
Bash is the default shell of GNU Debian, some other applications rely on
it, so I ensure that there's nothing wrong with /bin/bash.

On 2015/11/30 21:00, Ryan Curtin wrote:

I think the issue here is that |/bin/nash| is not a suitable
replacement for |/bin/bash|. Is it possible on your system to install
bash and then try again with that? (i.e. make it so |/bin/bash| is its
own executable, instead of a symlink to |/bin/nash|)


Reply to this email directly or view it on GitHub
#477 (comment).

*/Cordially,/
/Longfei Yang/

@rcurtin
Copy link
Member

rcurtin commented Nov 30, 2015

What you've told me is that /bin/bash is symlinked to /bin/nash. Presumably this was the choice of some Debian maintainer somewhere inside the project, though I can't say I have any Debian systems where this is the case (and Debian is my distribution of choice). If bash is symlinked to nash, then bash is not actually installed: nash is installed and is posing as bash, and my theory here is that nash is not actually a suitable drop-in replacement for bash.

In order to test that theory, though, I'd need you to find a way to install bash (or at the very least make sure /bin/bash runs bash, not nash), and try the rebuild.

In looking a little deeper here, I can't find any evidence anywhere that Debian even packages nash, and if it is this nash: http://linuxcommand.org/man_pages/nash8.html then that isn't a suitable replacement for bash at all and I have no idea how your system is even running. So, I don't know what could have possibly caused this issue on your system, but I'd be willing to bet that this is the problem.

@rcurtin
Copy link
Member

rcurtin commented Dec 14, 2015

Closing for inactivity. (Feel free to reopen for more help/discussion.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants