Search Postgresql Archives

Questions about postgresql-8.2.0-2PGDG.src.rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello List,

I am still trying to generate RPM for an IA-64 server with Red Hat Enterprise Linux 4 AS and today, I got a question about the "postgresql-8.2.0-2PGDG.src.rpm".
This src.rpm contains :
-rw-r--r-- 1 postgres postgres 12459207 Dec 2 20:25 postgresql-8.2.0.tar.bz2
-rw-r--r--  1 postgres postgres      897 Dec  2 20:28 pg_config.h
-rw-r--r--  1 postgres postgres     1539 Dec  2 20:28 Makefile.regress
-rwxr-xr-x 1 postgres postgres 56 Dec 2 20:28 filter-requires-perl-Pg.sh -rw-r--r-- 1 postgres postgres 1631 Dec 2 20:28 postgresql-logging.patch
-rw-r--r--  1 postgres postgres     7529 Dec  2 20:28 postgresql.init
-rw-r--r-- 1 postgres postgres 85 Dec 2 20:28 postgresql-bashprofile
-rw-r--r--  1 postgres postgres     1757 Dec  2 20:28 rpm-pgsql.patch
-rw-r--r--  1 postgres postgres    15598 Dec  2 20:28 README.rpm-dist
-rw-r--r--  1 postgres postgres     2563 Dec  2 20:28 postgresql-test.patch
-rw-r--r-- 1 postgres postgres 919 Dec 2 20:28 postgresql-perl-rpath.patch
-rw-r--r--  1 postgres postgres      141 Dec  2 20:28 postgresql.pam
-rw-r--r-- 1 postgres postgres 12198114 Dec 6 17:18 postgresql-8.2.0-2PGDG.src.rpm

I got a question with the "postgresql-test.patch" as in it the changes applied seem to be link to the release postgresql-8.2beta1... Is it normal ? The functions defined in this file are those which are failed in my regression test...
What are the functionnalities of all others patchs ?

Second problem : if I launch :
root# ./configure
root# make
root# chmod -R a+w src/test/regress
root# chmod -R a+w contrib/spi
root# su - postgres
postgres # make check
on the same server with gcc, all the regression tests are OK !

Moreover I see differences between the execution of "./configure" via the commands above and via the src.rpm.
With the commands above , the environnement variables are :
echo "#define PGBINDIR \"/usr/local/pgsql/bin\"" >pg_config_paths.h
echo "#define PGSHAREDIR \"/usr/local/pgsql/share\"" >>pg_config_paths.h
echo "#define SYSCONFDIR \"/usr/local/pgsql/etc\"" >>pg_config_paths.h
echo "#define INCLUDEDIR \"/usr/local/pgsql/include\"" >>pg_config_paths.h
echo "#define PKGINCLUDEDIR \"/usr/local/pgsql/include\"" >>pg_config_paths.h echo "#define INCLUDEDIRSERVER \"/usr/local/pgsql/include/server\"" >>pg_config_paths.h
echo "#define LIBDIR \"/usr/local/pgsql/lib\"" >>pg_config_paths.h
echo "#define PKGLIBDIR \"/usr/local/pgsql/lib\"" >>pg_config_paths.h
echo "#define LOCALEDIR \"\"" >>pg_config_paths.h
echo "#define DOCDIR \"/usr/local/pgsql/doc\"" >>pg_config_paths.h
echo "#define MANDIR \"/usr/local/pgsql/man\"" >>pg_config_paths.h

and via the src.rpm, I got :
echo "#define PGBINDIR \"/usr/bin\"" >pg_config_paths.h
echo "#define PGSHAREDIR \"/usr/share/pgsql\"" >>pg_config_paths.h
echo "#define SYSCONFDIR \"/etc/sysconfig/pgsql\"" >>pg_config_paths.h
echo "#define INCLUDEDIR \"/usr/include\"" >>pg_config_paths.h
echo "#define PKGINCLUDEDIR \"/usr/include/pgsql\"" >>pg_config_paths.h
echo "#define INCLUDEDIRSERVER \"/usr/include/pgsql/server\"" >>pg_config_paths.h
echo "#define LIBDIR \"/usr/lib\"" >>pg_config_paths.h
echo "#define PKGLIBDIR \"/usr/lib/pgsql\"" >>pg_config_paths.h
echo "#define LOCALEDIR \"/usr/share/locale\"" >>pg_config_paths.h
echo "#define DOCDIR \"/usr/share/doc/pgsql\"" >>pg_config_paths.h
echo "#define MANDIR \"/usr/share/man\"" >>pg_config_paths.h

=> Is it normal ?
=> Has someone already used the src.rpm to compile the 8.2 release ?

Thank you for your help.
Regards,
Alexandra


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux