install libxml2 on linux, run configure failed
I downloaded libxml2-2.9.3.tar.gz After unzip it, I ran configure, but got the following errors.
~/libxml2-2.9.3]$ sh ./configure --help : command not found4: ./configure: line 29: syntax error near unexpected token newline' '/configure: line 29: ;; I tried 'sh ./configure --prefix=/home/mydir/libxml2-2.9.3', got same error. running './configure --help' says './configure: Command not found.' The first in configure is '#! /bin/sh'. When I type 'which sh' at my directory, it says '/bin/sh' Please help me to install the libxml2. Thanks a lot!! |
Normally for such a BASIC part of the operating system you use your Package manager
and install that from your distros software repos For RHEL using "yum" Code:
su - Code:
su - |
Quote:
Also, we don't know the Version of Linux or if you are using a package manager. Also you are you being prompted to install libxml2? If so, by what? |
You might be using some unusual shell...
Try to investigate, eg in my system: Code:
ls -l /bin/sh; dpkg -S /bin/dash; dpkg -l dash |
All times are GMT -5. The time now is 09:50 PM. |