I have run the build-dep on apt-get for mysql-server and i get this
output. Should I say Yes to this? Maybe thats why I am having issue
installing mysql-server?
SLUG:/home/aaron# apt-get build-dep mysql-server
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
autoconf automake1.9 autotools-dev binutils bison build-essential chrpath
cpp cpp-4.1 debhelper defoma doxygen dpatch dpkg-dev fontconfig-config g++
g++-4.1 gawk gcc gcc-4.1 gettext gs gs-common gs-gpl gsfonts html2text
intltool-debian libc6-dev libfontconfig1 libfreetype6 libice6 libjpeg62
libkpathsea4 libncurses5-dev libpaper1 libpng12-0 libpoppler0c2
libreadline5-dev libsm6 libssp0 libstdc++6-4.1-dev libt1-5 libtool
libwrap0-dev libx11-6 libx11-data libxau6 libxaw7 libxdmcp6 libxext6 libxmu6
libxpm4 libxt6 linux-kernel-headers make po-debconf tetex-base tetex-bin
tetex-extra tex-common ttf-dejavu x11-common zlib1g-dev
0 upgraded, 63 newly installed, 0 to remove and 2 not upgraded.
Need to get 76.5MB of archives.
After unpacking 244MB of additional disk space will be used.
Do you want to continue [Y/n]?
On 6/22/07, Aaron Klein <klein.aaron@gmail.com> wrote:
> I have lighttpd and php5 now working properly as I can see the phpinfo
> page I made but I have difficulty with mysql installing. I have been
> trying and I am getting the same message I have been getting for a few
> days now. I mess around till I finally get the apt-get process
> cleaned up but every time I go to do another install of mysql I get
> messags like this.
>
> SLUG:/# apt-get install php5-mysql mysql-server
> Reading package lists... Done
> Building dependency tree... Done
> The following extra packages will be installed:
> mysql-server-5.0
> Suggested packages:
> tinyca
> The following NEW packages will be installed:
> mysql-server mysql-server-5.0 php5-mysql
> 0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
> Need to get 25.4MB of archives.
> After unpacking 68.0MB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Get:1 http://ftp.egr.msu.edu etch/main mysql-server-5.0 5.0.32-7etch1 [25.3MB]
> Get:2 http://security.debian.org etch/updates/main php5-mysql
> 5.2.0-8+etch4 [63.9kB]
> Get:3 http://ftp.egr.msu.edu etch/main mysql-server 5.0.32-7etch1 [46.7kB]
> Fetched 25.4MB in 4m6s (103kB/s)
> Use of uninitialized value in pattern match (m//) at
> /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 33, <> line 3.
> Use of uninitialized value in pattern match (m//) at
> /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 48, <> line 3.
> Can't fork at /usr/sbin/dpkg-preconfigure line 67, <> line 3.
> Selecting previously deselected package mysql-server-5.0.
> (Reading database ... 18071 files and directories currently installed.)
> Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.32-7etch1_arm.deb) ...
> Use of uninitialized value in pattern match (m//) at
> /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 33.
> Use of uninitialized value in pattern match (m//) at
> /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 48.
> open2: fork failed: Cannot allocate memory at
> /usr/share/perl5/Debconf/ConfModule.pm line 58
> dpkg: error processing
> /var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch1_arm.deb
> (--unpack):
> subprocess pre-installation script returned error exit status 9
> Use of uninitialized value in pattern match (m//) at
> /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 33.
> Use of uninitialized value in pattern match (m//) at
> /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 48.
> open2: fork failed: Cannot allocate memory at
> /usr/share/perl5/Debconf/ConfModule.pm line 58
> dpkg: error while cleaning up:
> subprocess post-removal script returned error exit status 9
> Selecting previously deselected package mysql-server.
> Unpacking mysql-server (from .../mysql-server_5.0.32-7etch1_all.deb) ...
> Selecting previously deselected package php5-mysql.
> Unpacking php5-mysql (from .../php5-mysql_5.2.0-8+etch4_arm.deb) ...
> Errors were encountered while processing:
> /var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch1_arm.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> SLUG:/#
>
>
> On 6/22/07, Aaron Klein <klein.aaron@gmail.com> wrote:
> > Thanks. I am going to try lighttpd and see how it goes. I was
> > wanting to try to mirror my real hosting server as best I could with
> > apache, php and mysql so I can develop scripts and sites on the slug
> > and then upload them to the real webaccessable site once things are
> > ready for 'real traffic'. Sine this is a play box speed is not a
> > concern.
> >
> > On 6/22/07, David Fokkema <dfokkema@ileos.nl> wrote:
> > > On Thu, 2007-06-21 at 22:07 -0400, Aaron Klein wrote:
> > > > Has anyone gotten the treo of web apps installed and working on the
> > > > NSLU2? Maybe its not possible to get Mysql working due to the limited
> > > > memory. I have gotten apache running but its verion 1.3.X I seem to
> > >
> > > Sure! But as you say, memory is at a premium. So... take the 'small'
> > > example from /usr/share/doc/mysql-server-5.0/examples (or something like
> > > that...) and disable the innodb engine, you don't need that.
> > > Furthermore, apache uses a lot of memory compared to, for example,
> > > lighttpd. PHP5 uses less memory than PHP4 (according to php.net, read it
> > > somewhere in the changelogs, new features, or ...).
> > >
> > > I'm running wordpress + gallery2 (embedded) on my slug. It uses mysql
> > > and lighttpd as backend servers. It is NOT fast. However, if you leave
> > > it at that, swapping will occur, but not too frequently. If you also use
> > > your slug for imap, samba, or other things, php will be swapped out when
> > > checking your mail, and swapped in when accessing your site which is a
> > > real pain in the ass (really, I know).
> > >
> > > Furthermore: use caching wherever you can! Install eaccelerator from
> > > source. You want it. Really. For wordpress you can download a caching
> > > module, gallery2 has a caching module and I suspect most other cms
> > > thingy's have too. You can also try something like varnish.
> > >
> > > Good luck,
> > >
> > > David
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > >
> > >
> >
> >
> > --
> > Have pets? Get the help you need from the Pet Advice Network.
> > We have 6 websites ready to help you. http://www.petadvice.net
> >
>
>
> --
> Have pets? Get the help you need from the Pet Advice Network.
> We have 6 websites ready to help you. http://www.petadvice.net
>
--
Have pets? Get the help you need from the Pet Advice Network.
We have 6 websites ready to help you. http://www.petadvice.net