Thread: how to re-configure postgresql-rpm version
I downloaded postgresql 7.2.1 - rpm version, installed it to my Linux machine and inputted some of my data in postgresql. Now I would like to re-configure my postgresql server by increasing --enable-local and --enable-multibyte=UNICODE options. How should I do? I found all document talking about re-configure tar.gz version not rpm. The main point is that I can not find the ./configure file from rpm version. Please help me. I'm a newbie on Linux and Postgresql. Thanks in Advance.
root wrote: > I downloaded postgresql 7.2.1 - rpm version, installed it to my Linux machine > and inputted some of my data in postgresql. Now I would like to re-configure > my postgresql server by increasing --enable-local and > --enable-multibyte=UNICODE options. How should I do? > I found all document talking about re-configure tar.gz version not rpm. The > main point is that I can not find the ./configure file from rpm version. The "tar.gz" version you're talking about must be the "source" version, ie the version you have to "compile", "build". Hence the ./configure call, that will "configure" (heh, who said computer science terms are often misleading ?) your build and installation. The rpm version is the binary version, where "almost everything" is done for you. You won't find any ./configure or Makefile in a binary version. If you want to tweak your postgreSQL install at build-time, get the source version instead and follow README and INSTALL files instructions. (Basically, you will "./configure --with-all-your-favorite-options=enabled", "make", "make install"). PS: DO uninstall the rpm version first. > > Please help me. I'm a newbie on Linux and Postgresql. > Thanks in Advance. > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It will be slightly long story. You should obtain SRPM file first, then extract the SRPM file in '/usr/src/redhat/SOURCES' (in RedHat Linux for example) like as, /usr/bin/rpm2cpio (SRPM file) | /bin/cpio -i You could add the compile options to file named 'postgresql.spec', and, the comand below will build a new rpm package. rpm -ba --target foo postgresql.spec > I found all document talking about re-configure tar.gz version not rpm. The > main point is that I can not find the ./configure file from rpm version. > Please help me. I'm a newbie on Linux and Postgresql. > Thanks in Advance. Hiroki - -- ---------------------------------------------------- Hiroki Takada <takada@rh.xdsl.ne.jp> My public key is available at the public key servers. The message was signed as iso-2022-jp char-set document in no PGP/MINE (RFC 2015) format. ---------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: KUHASIKU WA http://www.gnupg.org/ WO GORANKUDASAI iD8DBQE9Ic6MyTl8Jc+E3sERAm0yAJ0cwS2ZI+r/Flzu6yvxjqb7E87FPQCfXABB HDIbIsHSB7vgkFT+995lw6w= =hyLg -----END PGP SIGNATURE-----