Hi Peter! Peter Eisentraut [2005-12-10 1:31 +0100]: > When you compile the postgresql package with a non-standard compiler, > then packages using the pgxs build system will also attempt to use that > compiler.
Where does it record that information? Both the buildds and i386 package (which is built in my sid pbuilder) only record 'CC=cc', no specific version. > I don't think it's reasonable for maintainers of those > packages to keep track of the compiler of the day, so the server-dev > packages should record this information with a dependency on the > respective gcc version. That would not make sense IMHO. Since everything is C, it should not be required to use a particular compiler version. > Alternatively, you could also rearrange the postgresql build process > so that the non-standard compiler version does not end up being used > by the pgxs system. I would very much prefer this option, and I do agree that it makes sense. I just don't know what to change. |$ /usr/lib/postgresql/8.0/bin/pg_config --configure |'--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib/postgresql-8.0' '--srcdir=.' '--disable-maintainer-mode' '--mandir=/usr/share/postgresql/8.0/man' '--with-docdir=/usr/share/doc/postgresql-doc-8.0' '--datadir=/usr/share/postgresql/8.0' '--bindir=/usr/lib/postgresql/8.0/bin' '--includedir=/usr/include/postgresql/' '--enable-nls' '--enable-integer-datetimes' '--enable-debug' '--disable-rpath' '--with-tcl' '--with-perl' '--with-python' '--with-pam' '--with-krb5' '--with-openssl' '--with-gnu-ld' '--with-tclconfig=/usr/lib/tcl8.4' '--with-tkconfig=/usr/lib/tk8.4' '--with-includes=/usr/include/tcl8.4:/usr/lib/R/include' '--with-pgport=5432' '--enable-thread-safety' 'CC=cc' 'CFLAGS=-g -Wall -O2' 'build_alias=x86_64-linux-gnu' -> CC=cc |/usr/lib/postgresql/8.0/lib$ grep -r 'cc.*\d' . |./pgxs/src/Makefile.global:configure_args = '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/postgresql-8.0' '--srcdir=.' '--disable-maintainer-mode' '--mandir=${prefix}/share/postgresql/8.0/man' '--with-docdir=${prefix}/share/doc/postgresql-doc-8.0' '--datadir=${prefix}/share/postgresql/8.0' '--bindir=${prefix}/lib/postgresql/8.0/bin' '--includedir=${prefix}/include/postgresql/' '--enable-nls' '--enable-integer-datetimes' '--enable-debug' '--disable-rpath' '--with-tcl' '--with-perl' '--with-python' '--with-pam' '--with-krb5' '--with-openssl' '--with-gnu-ld' '--with-tclconfig=/usr/lib/tcl8.4' '--with-tkconfig=/usr/lib/tk8.4' '--with-includes=/usr/include/tcl8.4:/usr/lib/R/include' '--with-pgport=5432' '--enable-thread-safety' 'CC=cc' 'CFLAGS=-g -Wall -O2' 'build_alias=x86_64-linux-gnu' (this is just the recorded configure value) Thanks, Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org In a world without walls and fences, who needs Windows and Gates?
signature.asc
Description: Digital signature