Portál AbcLinuxu, 10. května 2025 09:06
[root]@[truhlik] [16:54:49] [/root/com]# apt-get source mysql-server-5.1 Reading package lists... Done Building dependency tree Reading state information... Done Picking 'mysql-5.1' as source package instead of 'mysql-server-5.1' NOTICE: 'mysql-5.1' packaging is maintained in the 'Svn' version control system at: svn://svn.debian.org/svn/pkg-mysql/mysql-dfsg-5.1/ Need to get 21.1MB of source archives. Get:1 http://ftp.us.debian.org/debian/ squeeze/main mysql-5.1 5.1.49-1 (dsc) [1,691B] Get:2 http://ftp.us.debian.org/debian/ squeeze/main mysql-5.1 5.1.49-1 (tar) [20.8MB] Get:3 http://ftp.us.debian.org/debian/ squeeze/main mysql-5.1 5.1.49-1 (diff) [296kB] Fetched 21.1MB in 32s (654kB/s) gpgv: keyblock resource `/root/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Sat 31 Jul 2010 02:01:32 PM CEST using DSA key ID 0F7A8D01 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./mysql-5.1_5.1.49-1.dsc dpkg-source: info: extracting mysql-5.1 in mysql-5.1-5.1.49 dpkg-source: info: unpacking mysql-5.1_5.1.49.orig.tar.gz dpkg-source: info: applying mysql-5.1_5.1.49-1.diff.gz [root]@[truhlik] [16:55:27] [/root/com]# cd mysql-5.1-5.1.49/ [root]@[truhlik] [16:55:41] [/root/com/mysql-5.1-5.1.49]# mkdir bin [root]@[truhlik] [16:55:43] [/root/com/mysql-5.1-5.1.49]# cd bin [root]@[truhlik] [16:55:44] [/root/com/mysql-5.1-5.1.49/bin]# ../configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ....
apt-get source mysql-server-5.0 Reading package lists... Done Building dependency tree Reading state information... Done Need to get 18.3MB of source archives. Get:1 http://ftp.cz.debian.org lenny/main mysql-dfsg-5.0 5.0.51a-24+lenny4 (dsc) [1746B] Get:2 http://ftp.cz.debian.org lenny/main mysql-dfsg-5.0 5.0.51a-24+lenny4 (tar) [17.9MB] Get:3 http://ftp.cz.debian.org lenny/main mysql-dfsg-5.0 5.0.51a-24+lenny4 (diff) [383kB] Fetched 18.3MB in 16s (1124kB/s) Can't locate Dpkg.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/dpkg-source line 7. BEGIN failed--compilation aborted at /usr/bin/dpkg-source line 7. Unpack command 'dpkg-source -x mysql-dfsg-5.0_5.0.51a-24+lenny4.dsc' failed. Check if the 'dpkg-dev' package is installed. E: Child process failed
./configure
, ne ../configure
. To se vám snažil sdělit už první komentář…
bin
jste těsně předtím vytvořil, takže v něm žádný skript configure
nebude. Takže je potřeba zůstat v tom adresáři s rozbalenými zdrojáky MySQL a tam spustit ./configure
.
apt-get source mysql-server-5.0 Reading package lists... Done Building dependency tree Reading state information... Done Need to get 18.3MB of source archives. Get:1 http://ftp.cz.debian.org lenny/main mysql-dfsg-5.0 5.0.51a-24+lenny4 (dsc) [1746B] Get:2 http://ftp.cz.debian.org lenny/main mysql-dfsg-5.0 5.0.51a-24+lenny4 (tar) [17.9MB] Get:3 http://ftp.cz.debian.org lenny/main mysql-dfsg-5.0 5.0.51a-24+lenny4 (diff) [383kB] Fetched 18.3MB in 16s (1124kB/s) Can't locate Dpkg.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/dpkg-source line 7. BEGIN failed--compilation aborted at /usr/bin/dpkg-source line 7. Unpack command 'dpkg-source -x mysql-dfsg-5.0_5.0.51a-24+lenny4.dsc' failed. Check if the 'dpkg-dev' package is installed. E: Child process failed
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.