免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1483 | 回复: 8
打印 上一主题 下一主题

编译出错,查不到相关文档。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-23 09:44 |只看该作者 |倒序浏览
我在编译4.1.20时,老是不成功。
运行./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 localhost.localdomain password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

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 http://shop.mysql.com
Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@localhost mysql-4.1.20]# Starting mysqld daemon with databases from /root/software/mysql-4.1.20/data
STOPPING server from pid file /root/software/mysql-4.1.20/data/localhost.localdomain.pid
060623 09:41:55  mysqld ended

查了messages,内容为:
Jun 23 09:10:33 localhost xinetd[1628]: xinetd Version 2.3.10 started with libwrap options compiled in.
Jun 23 09:10:33 localhost xinetd[1628]: Started working: 1 available service
Jun 23 09:10:34 localhost xinetd: xinetd startup succeeded
Jun 23 09:10:35 localhost sendmail: sendmail startup succeeded
Jun 23 09:10:36 localhost sendmail: sm-client startup succeeded
Jun 23 09:10:36 localhost gpm: gpm startup succeeded
Jun 23 09:10:37 localhost crond: crond startup succeeded
Jun 23 09:10:37 localhost anacron: anacron startup succeeded
Jun 23 09:10:37 localhost atd: atd startup succeeded
Jun 23 09:11:06 localhost sshd(pam_unix)[1708]: session opened for user root by (uid=0)
Jun 23 09:11:08 localhost sshd(pam_unix)[1708]: session closed for user root
Jun 23 09:11:19 localhost sshd(pam_unix)[1748]: session opened for user root by (uid=0)
Jun 23 09:23:03 localhost rz[1789]: [root] mysql-standard-4.1.20-pc-linux-gnu-i686-icc-glibc23.tar.gz/ZMODEM: 30877550 Bytes, 842851 BPS
Jun 23 09:36:05 localhost rz[2035]: [root] mysql-3.23.54a-11.i386.rpm/ZMODEM: 5247012 Bytes, 917568 BPS
Jun 23 09:36:06 localhost rz[2035]: [root] mysql-devel-3.23.54a-11.i386.rpm/ZMODEM: 580038 Bytes, 507038 BPS
Jun 23 09:36:06 localhost rz[2035]: [root] MySQL-python-0.9.1-6.i386.rpm/ZMODEM: 92549 Bytes, 803509 BPS
Jun 23 09:36:07 localhost rz[2035]: [root] mysql-server-3.23.54a-11.i386.rpm/ZMODEM: 1119094 Bytes, 898678 BPS

搞不懂是啥回事。。。请帮忙解决一下。谢谢。

论坛徽章:
0
2 [报告]
发表于 2006-06-23 09:45 |只看该作者

  1. NOTE: This is a MySQL binary distribution. It's ready to run, you don't
  2. need to configure it!
复制代码

论坛徽章:
0
3
发表于 2006-06-23 09:48
上传的二进制的问题?
对了,我查了。。。再贴其他的日志:
Jun 23 09:10:28 localhost kernel: Checking 'hlt' instruction... OK.
Jun 23 09:10:28 localhost apmd: apmd startup succeeded
Jun 23 09:10:28 localhost kernel: POSIX conformance testing by UNIFIX
Jun 23 09:10:28 localhost apmd[1577]: Version 3.0.2 (APM BIOS 1.2, Linux driver 1.16)
Jun 23 09:10:28 localhost kernel: mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
Jun 23 09:10:28 localhost kernel: mtrr: detected mtrr type: Intel
Jun 23 09:10:28 localhost kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9a0, last bus=1
Jun 23 09:10:28 localhost kernel: PCI: Using configuration type 1
Jun 23 09:10:28 localhost autofs: automount startup succeeded
Jun 23 09:10:28 localhost kernel: PCI: Probing PCI hardware
Jun 23 09:10:28 localhost kernel: PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
Jun 23 09:10:28 localhost kernel: PCI: Cannot allocate resource region 4 of device 00:07.1
Jun 23 09:10:28 localhost kernel: Limiting direct PCI/PCI transfers.
Jun 23 09:10:28 localhost kernel: isapnp: Scanning for PnP cards...
Jun 23 09:10:28 localhost kernel: isapnp: No Plug & Play device found
Jun 23 09:10:29 localhost kernel: Linux NET4.0 for Linux 2.4
Jun 23 09:10:29 localhost kernel: Based upon Swansea University Computer Society NET3.039
Jun 23 09:10:29 localhost kernel: Initializing RT netlink socket
Jun 23 09:10:29 localhost kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Jun 23 09:10:29 localhost kernel: Starting kswapd
Jun 23 09:10:29 localhost kernel: VFS: Disk quotas vdquot_6.5.1
Jun 23 09:10:29 localhost kernel: pty: 2048 Unix98 ptys configured
Jun 23 09:10:29 localhost kernel: Serial driver version 5.05c (2001-07-0 with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
Jun 23 09:10:29 localhost kernel: ttyS0 at 0x03f8 (irq = 4) is a 16550A
Jun 23 09:10:29 localhost apmd[1577]: Charge: * * * (-1% unknown)
Jun 23 09:10:29 localhost kernel: ttyS1 at 0x02f8 (irq = 3) is a 16550A
Jun 23 09:10:29 localhost kernel: Real Time Clock Driver v1.10e
Jun 23 09:10:29 localhost kernel: Floppy drive(s): fd0 is 1.44M
Jun 23 09:10:29 localhost kernel: FDC 0 is a post-1991 82077
Jun 23 09:10:29 localhost kernel: NET4: Frame Diverter 0.46
Jun 23 09:10:29 localhost kernel: RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Jun 23 09:10:29 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
Jun 23 09:10:29 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jun 23 09:10:29 localhost kernel: PIIX4: IDE controller at PCI slot 00:07.1
Jun 23 09:10:29 localhost kernel: PIIX4: chipset revision 1
Jun 23 09:10:29 localhost kernel: PIIX4: not 100%% native mode: will probe irqs later
Jun 23 09:10:30 localhost kernel:     ide1: BM-DMA at 0x1478-0x147f, BIOS settings: hdcMA, hdd:pio
Jun 23 09:10:30 localhost kernel: hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
Jun 23 09:10:30 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jun 23 09:10:30 localhost kernel: ide-floppy driver 0.99.newide
Jun 23 09:10:30 localhost kernel: ide-floppy driver 0.99.newide
Jun 23 09:10:30 localhost kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Jun 23 09:10:30 localhost kernel: md: Autodetecting RAID arrays.
Jun 23 09:10:30 localhost kernel: md: autorun ...
Jun 23 09:10:30 localhost kernel: md: ... autorun DONE.
Jun 23 09:10:30 localhost kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Jun 23 09:10:30 localhost sshd:  succeeded
Jun 23 09:10:30 localhost kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Jun 23 09:10:30 localhost kernel: IP: routing cache hash table of 1024 buckets, 8Kbytes
Jun 23 09:10:30 localhost kernel: TCP: Hash tables configured (established 16384 bind 3276
Jun 23 09:10:30 localhost kernel: Linux IP multicast router 0.06 plus PIM-SM
Jun 23 09:10:30 localhost kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Jun 23 09:10:30 localhost kernel: RAMDISK: Compressed image found at block 0
Jun 23 09:10:31 localhost kernel: Freeing initrd memory: 248k freed
Jun 23 09:10:31 localhost kernel: VFS: Mounted root (ext2 filesystem).
Jun 23 09:10:31 localhost kernel: SCSI subsystem driver Revision: 1.00
Jun 23 09:10:31 localhost kernel: PCI: Found IRQ 11 for device 00:10.0
Jun 23 09:10:31 localhost kernel: scsi: ***** BusLogic SCSI Driver Version 2.1.15 of 17 August 1998 *****
Jun 23 09:10:31 localhost kernel: scsi: Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com>
Jun 23 09:10:31 localhost kernel: scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
Jun 23 09:10:31 localhost kernel: scsi0:   Firmware Version: 5.07B, I/O Address: 0x1440, IRQ Channel: 11/Level
Jun 23 09:10:31 localhost kernel: scsi0:   PCI Bus: 0, Device: 16, Address: 0xEC800000, Host Adapter SCSI ID: 7
Jun 23 09:10:31 localhost kernel: scsi0:   Parity Checking: Enabled, Extended Translation: Enabled
Jun 23 09:10:31 localhost kernel: scsi0:   Synchronous Negotiation: Ultra, Wide Negotiation: Enabled
Jun 23 09:10:31 localhost kernel: scsi0:   Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
Jun 23 09:10:31 localhost kernel: scsi0:   Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 211
Jun 23 09:10:31 localhost kernel: scsi0:   Driver Queue Depth: 211, Host Adapter Queue Depth: 192
Jun 23 09:10:31 localhost kernel: scsi0:   Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
Jun 23 09:10:31 localhost kernel: scsi0:   Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
Jun 23 09:10:31 localhost kernel: scsi0: *** BusLogic BT-958 Initialized Successfully ***
Jun 23 09:10:31 localhost kernel: scsi0 : BusLogic BT-958
Jun 23 09:10:31 localhost kernel:   Vendor: VMware,   Model: VMware Virtual S  Rev: 1.0
Jun 23 09:10:31 localhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jun 23 09:10:31 localhost kernel: scsi0: Target 0: Queue Depth 28, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 1: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 2: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 3: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 4: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 5: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 6: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 7: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 8: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 9: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 10: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 11: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 12: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 13: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 14: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: scsi0: Target 15: Queue Depth 3, Asynchronous
Jun 23 09:10:31 localhost kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Jun 23 09:10:31 localhost kernel: SCSI device sda: 16777216 512-byte hdwr sectors (8590 MB)
Jun 23 09:10:32 localhost kernel: Partition check:
Jun 23 09:10:32 localhost kernel:  sda: sda1 sda2 sda3 sda4 < sda5 >
Jun 23 09:10:32 localhost kernel: Journalled Block Device driver loaded
Jun 23 09:10:32 localhost kernel: kjournald starting.  Commit interval 5 seconds
Jun 23 09:10:32 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jun 23 09:10:32 localhost kernel: Freeing unused kernel memory: 132k freed
Jun 23 09:10:32 localhost kernel: scsi0: Tagged Queuing now active for Target 0
Jun 23 09:10:32 localhost kernel: usb.c: registered new driver usbdevfs
Jun 23 09:10:32 localhost kernel: usb.c: registered new driver hub
Jun 23 09:10:32 localhost kernel: usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
Jun 23 09:10:32 localhost kernel: usb-uhci.c: High bandwidth mode enabled
Jun 23 09:10:32 localhost kernel: PCI: Found IRQ 9 for device 00:07.2
Jun 23 09:10:32 localhost kernel: PCI: Sharing IRQ 9 with 00:12.0
Jun 23 09:10:32 localhost kernel: usb-uhci.c: USB UHCI at I/O 0x1060, IRQ 9
Jun 23 09:10:32 localhost kernel: usb-uhci.c: Detected 2 ports
Jun 23 09:10:32 localhost kernel: usb.c: new USB bus registered, assigned bus number 1
Jun 23 09:10:32 localhost kernel: hub.c: USB hub found
Jun 23 09:10:32 localhost kernel: hub.c: 2 ports detected
Jun 23 09:10:32 localhost kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Jun 23 09:10:32 localhost kernel: usb.c: registered new driver hiddev
Jun 23 09:10:32 localhost kernel: usb.c: registered new driver hid
Jun 23 09:10:32 localhost kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
Jun 23 09:10:32 localhost kernel: hid-core.c: USB HID support drivers
Jun 23 09:10:32 localhost kernel: mice: PS/2 mouse device common for all mice
Jun 23 09:10:32 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
Jun 23 09:10:32 localhost kernel: Adding Swap: 1052248k swap-space (priority -1)
Jun 23 09:10:32 localhost kernel: kjournald starting.  Commit interval 5 seconds
Jun 23 09:10:32 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
Jun 23 09:10:32 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jun 23 09:10:32 localhost kernel: kjournald starting.  Commit interval 5 seconds
Jun 23 09:10:32 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,5), internal journal
Jun 23 09:10:32 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jun 23 09:10:32 localhost kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE]
Jun 23 09:10:32 localhost kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jun 23 09:10:32 localhost kernel: pcnet32.c:v1.27b 01.10.2002 tsbogend@alpha.franken.de
Jun 23 09:10:32 localhost kernel: PCI: Found IRQ 10 for device 00:11.0
Jun 23 09:10:32 localhost kernel: pcnet32: PCnet/PCI II 79C970A at 0x1080, 00 0c 29 b3 23 fc assigned IRQ 10.
Jun 23 09:10:32 localhost kernel: eth0: registered as PCnet/PCI II 79C970A
Jun 23 09:10:32 localhost kernel: pcnet32: 1 cards_found.

论坛徽章:
0
4 [报告]
发表于 2006-06-23 10:00 |只看该作者
遇到这个问题要怎样解决呢?

论坛徽章:
0
5 [报告]
发表于 2006-06-23 10:09 |只看该作者
呵呵,你楼上已经指出了错误提示的关键点,你下载的是不需要编译的二进制包,是官方已经编译好直接可用的。你只要配合做些相关的配置即可,里面有一个 INSTALL 文件,有详细步骤,照做即可。

论坛徽章:
0
6 [报告]
发表于 2006-06-23 10:12 |只看该作者
谢谢你。原来还有这么一回事儿。。。呵呵。。。原来二进制的不需要再次编译。。。不过。。。也难倒了。。之前我只会用rpm来安装的。

论坛徽章:
0
7 [报告]
发表于 2006-06-23 10:34 |只看该作者
对了,能不能问一下,RPM包能不能与编译包一起装呢?比如说:我的mysql用RPM包,httpd用编译的。这样可以吗?会不会产生什么问题呢?

论坛徽章:
0
8 [报告]
发表于 2006-06-23 10:54 |只看该作者
不会有问题。

论坛徽章:
0
9 [报告]
发表于 2006-06-23 11:22 |只看该作者
谢谢你们。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP