Thanks for the reply, another showstopper popped up. I followed the
steps in the following URL to install Debian 3.1:
http://www.howtoforge.com/perfect_setup_debian_sarge

I plan this to be the base of my server deployments of Debian GNU/Linux.

I tried to install PostgreSQL in Debian 3.1 using the following build script:
groupadd postgres;
useradd -g postgres -d /var/lib/pgsql -s /usr/local/bin/bash postgres;
cd /var/tmp/postgresql-8.0.5/
export CFLAGS="-static -march=i686 -mcpu=i686 -funroll-loops
-fomit-frame-pointer";
export CXXFLAGS="-static -march=i686 -mcpu=i686 -funroll-loops
-fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti";
./configure --prefix=/usr --sysconfdir=/etc
--localstatedir=/var/lib/pgsql --mandir=/usr/share/man
--disable-shared --enable-syslog;
gmake all;
gmake install;
rm -rf /usr/doc;
mkdir -p /var/lib/pgsql;
chmod 700 /var/lib/pgsql;
chown -R postgres.postgres /var/lib/pgsql;
touch /var/log/postgresql;
chown postgres.postgres /var/log/postgresql;
chmod 600 /var/log/postgresql;
strip /usr/bin/postgres;
strip /usr/bin/ecpg;
strip /usr/bin/pg_id;
strip /usr/bin/pgrep;
strip /usr/bin/pg_dump;
strip /usr/bin/psql;
su -l postgres -c "initdb -D /var/lib/pgsql/data";

It complains not finding "readline". I need tips or pointers on this.
Thank you very much!

On 1/27/06, Zak B. Elep <[EMAIL PROTECTED]> wrote:
> Hi Tito! :-)
>
> On 1/27/06, Tito Mari Francis Escaño <[EMAIL PROTECTED]> wrote:
> > Recently, I tried out Debian 3.1 and I liked the net installation
> > procedure, reminding me of the joy (or pain!) of installing OpenBSD.
> > By default GCC is installed so I was about to compile my apps when I
> > was surprised not to find my old friend "/etc/rc.local".
> > I'm not very well versed in writing daemon startup scripts for
> > "/etc/rc.d/init.d/" in my old distro so I find "/etc/rc.local" a
> > convenient way to start it up fast without digging deep on daemon
> > start and stop scripts.
> > How do I start custom compiled daemons in Debian? Any pointers please?
>
> You'll have to register your initscript (which should now be in
> /etc/init-d) using update-rc.d(8).  For example, if you have a custom
> Apache2 installed with its initscript in /etc/init.d/apache2, you
> would then invoke
>
> [EMAIL PROTECTED]:~ $ sudo update-rc.d defaults
>
> which would then register the initscript to start at runlevels 2,3,4,
> and 5, and stop at runlevels 0,1, and 6.  See update-rc.d(8) for more
> details.
>
> And while at the topic of custom compiling, why not just grab the
> sources from the Debian archive (via apt-get install source,) tweaking
> each source's debian/rules to suit you, then building with
> dpkg-buildpackage/debuild to create custom Debian packages?  (Of
> course, that will assume that you know more about how Debian's system
> works, but I think you'll manage, given that you've already crafted
> your own script ;)
>
> Anyhow, good luck on your customizing!
>
> Cheers,
>
> Zakame
>
> --
> Zak B. Elep  ||  http://zakame.spunge.org
> [EMAIL PROTECTED]  ||  [EMAIL PROTECTED]
> 1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 851D
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
>


--
Tito Mari Francis H. Escaño
Computer Engineer and Free Software Proponent
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to