立即免费下载 Discuz!6.1.0正式版
Discuz! 6.1.0 使用说明
Discuz!NT升级至v2.1
开放源码下载
UCenter Home 1.2 正式版发布
官方站 | 帮助文档
基于ECShop的免费网店托管-卖否
PHP实战精英班培训 | LAMP培训大连
Discuz!收费服务内容及价格
论坛免费升级 手握手
Discuz!/ECShop 专用官方虚拟主机
注册付费广告征集
Comsenz 招聘信息
网店系统ECShop v2.6.0正式版火热发布
基于Discuz!的免费论坛空间5D6D
第二届PHP中国开源发展及人才状况调查
发新话题
打印

[教程] 心血之作啊!MySql+Apache+PHP+Discuz!_sp1_gb

引用:
原帖由 a5706349 于 2005-7-30 12:59 发表
还有哪有空间申请,稳定,或较稳定的免费空间
免费资源找我准没错
看签名~
写的不错,支持
SKU , EVERYBODY!
我按照你的来,在安装MYSQL时用MAKE这个命令就出现了

make: *** No targets specified and no makefile found.  Stop.

怎么办啊?
支持一下
[root@csa mysql-standard-4.1.12-pc-linux-gnu-i686]# ./configure --prefix=/usr/local/mysql
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Installing all prepared tables
Fill help tables

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h csa password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@csa mysql-standard-4.1.12-pc-linux-gnu-i686]# Starting mysqld daemon with
databases from /root/mysql-standard-4.1.12-pc-linux-gnu-i686/data
STOPPING server from pid file /root/mysql-standard-4.1.12-pc-linux-gnu-i686/data/csa.pid
051013 17:33:55  mysqld ended

make
make: *** No targets specified and no makefile found.  Stop.
[root@csa mysql-standard-4.1.12-pc-linux-gnu-i686]# make
make: *** No targets specified and no makefile found.  Stop.
[root@csa mysql-standard-4.1.12-pc-linux-gnu-i686]#
[root@csa mysql-standard-4.1.12-pc-linux-gnu-i686]# ./configure --prefix=/usr/local/mysql --with-charset=gbk
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Installing all prepared tables
Fill help tables

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h csa password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@csa mysql-standard-4.1.12-pc-linux-gnu-i686]# chown: ‘mysql’: 无效的用户
Starting mysqld daemon with databases from /root/mysql-standard-4.1.12-pc-linux-gnu-i686/data
STOPPING server from pid file /root/mysql-standard-4.1.12-pc-linux-gnu-i686/data/csa.pid
051013 19:37:07  mysqld ended

make
make: *** No targets specified and no makefile found.  Stop.
[root@csa mysql-standard-4.1.12-pc-linux-gnu-i686]# make
make: *** No targets specified and no makefile found.  Stop.
[root@csa mysql-standard-4.1.12-pc-linux-gnu-i686]#
SKU
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... no
configure: warning: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none).
checking for flex... lex
checking for yywrap in -ll... no
checking for working const... yes
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4  (found: none)
checking whether to force non-PIC code in shared modules... yes
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/local/apache/bin/apxa follows:
./configure: line 6669: /usr/local/apache/bin/apxa: No such file or directory
configure: error: Aborting




请大侠帮忙看看是什么原因呢?

回复 14# ehua7379 的帖子

我也遇到了这样的问题,原因是没有安装gcc

解决方法:

mount一下光驱,把里面的gcc的rpm包装一下 重新configure 就能make了
发新话题
版块跳转