on 2012 Jul 05 9:27 PM
Trying to compile the sqlanywhere php extension on ubuntu12:
phpize ./configure --with-php-config=/opt/php5/bin/php-config make make install
But configure fails:
: not found: 2519: ./configure: : not found: 2520: ./configure: ./configure: 11467: ./configure: Syntax error: end of file unexpected (expecting "then")
The failing lines in ./configure all had DOS newline characters (displayed as ^M in vim).
The configure script is generated by phpize.
Stripping all the DOS newline characters from ./configure solved the problem.
Suspect the problem due to some change between ubuntu11 & ubuntu12.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.