Thread: install postgres8.1 on debian
I’m trying to install postgresql 8.1, from source but I get stuck at the 3 step:
1- ./configure --without-zlib
2- make all
3- make install
(many lines omitted)
make[3]: Leaving directory `/usr/local/src/postgresql-8.1.4/src/backend/utils/mb/conversion_procs/utf8_and_win874'
make[2]: Leaving directory `/usr/local/src/postgresql-8.1.4/src/backend/utils/mb/conversion_procs'
make -C include install
make[2]: Entering directory `/usr/local/src/postgresql-8.1.4/src/include'
mkdir -p -- /usr/local/pgsql/include/libpq /usr/local/pgsql/include/internal/libpq
mkdir: cannot create directory `/usr/local/pgsql/include': File exists
mkdir: cannot create directory `/usr/local/pgsql/include': File exists
make[2]: *** [installdirs] Error 1
make[2]: Leaving directory `/usr/local/src/postgresql-8.1.4/src/include'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/src/postgresql-8.1.4/src'
make: *** [install] Error 2
it’s weird because it’s the first time I installed it.
iuri
Dilipkumar
----- Original Message -----From: Iuri SampaioSent: Friday, September 15, 2006 12:57 PMSubject: [ADMIN] install postgres8.1 on debianIm trying to install postgresql 8.1, from source but I get stuck at the 3 step:
1- ./configure --without-zlib
2- make all
3- make install
(many lines omitted)
make[3]: Leaving directory `/usr/local/src/postgresql-8.1.4/src/backend/utils/mb/conversion_procs/utf8_and_win874'
make[2]: Leaving directory `/usr/local/src/postgresql-8.1.4/src/backend/utils/mb/conversion_procs'
make -C include install
make[2]: Entering directory `/usr/local/src/postgresql-8.1.4/src/include'
mkdir -p -- /usr/local/pgsql/include/libpq /usr/local/pgsql/include/internal/libpq
mkdir: cannot create directory `/usr/local/pgsql/include': File exists
mkdir: cannot create directory `/usr/local/pgsql/include': File exists
make[2]: *** [installdirs] Error 1
make[2]: Leaving directory `/usr/local/src/postgresql-8.1.4/src/include'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/src/postgresql-8.1.4/src'
make: *** [install] Error 2
its weird because its the first time I installed it.
iuri
"Iuri Sampaio" <iuri.sampaio@gmail.com> writes: > mkdir: cannot create directory `/usr/local/pgsql/include': File exists Perhaps there is a plain file (not a directory) at that location? You will generally need to do the "make install" step as root if you're installing into a standard location such as /usr/local ... but I'd have expected a permissions failure rather than "file exists" if that were the issue. regards, tom lane