- 论坛徽章:
- 0
|
安装DBD-mysql-2.1028,perl Makefile.PL时,报错如下:
Can't exec "mysql_config": 无此文件或目录 at Makefile.PL line 169.
Can't exec "mysql_config": 无此文件或目录 at Makefile.PL line 169.
Can't exec "mysql_config": 无此文件或目录 at Makefile.PL line 169.
Can't exec "mysql_config": 无此文件或目录 at Makefile.PL line 169.
Can't exec "mysql_config": 无此文件或目录 at Makefile.PL line 169.
Can't exec "mysql_config": 无此文件或目录 at Makefile.PL line 169.
Can't exec "mysql_config": 无此文件或目录 at Makefile.PL line 169.
Can't exec "mysql_config": 无此文件或目录 at Makefile.PL line 169.
I will use the following settings for compiling and testing:
cflags (guessed) = -I/usr/local/mysql/include
libs (guessed) = -L/usr/local/mysql/lib -lmysqlclient -lz -lgz
nocatchstderr (default) = 0
ssl (guessed) = 0
testdb (default) = test
testhost (default) =
testpassword (default) =
testuser (default) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Note (probably harmless): No library found for -lgz
Using DBI 1.19 installed in /usr/perl5/site_perl/5.005/sun4-solaris/auto/DBI
Writing Makefile for DBD::mysql
将生成的makefile文件修改成gcc后make,结果make 时报错如下:
gcc -c -I/usr/perl5/site_perl/5.005/sun4-solaris/auto/DBI -I/usr/local/mysql/include -O2 -DVERSION=\"2.1028\" -DXS_VERSION=\"2.1028\" -fPIC -I/usr/perl5/5.00503/sun4-solaris/CORE dbdimp.c
make: gcc: Command not found
make: *** [dbdimp.o] Error 127
哪位高手能给予答复,不胜感激!
机器类型 :$ uname -a
SunOS E250 5.8 Generic_108528-20 sun4u sparc SUNW,Ultra-250 |
|