FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need a bit of help here i'am installing this based on some instructions(guide) for another program iam installing.So first i try this
linux:/root# tar -xzf postgresql-8.3.tar.gz
linux:/root# cd postgresql-8.3/
linux:/root/postgresql-8.3# ./configure --with-CXX \
--enable-multibyte \
--with-tcl --without-tk
when i do this at the end i get can not locate tclConfig.sh so next in the instructions says this.
If the configure complains about not finding tclConfig.sh, or if
you experience missing .h files when doing the next steps of compilation,
you may want to re-run the ./configure adding the following parameters :
So i looked for the tclConfig.sh found that in usr/local/lib/tcl
but i cannot find the next 2 i'am pretty new to linux.So if someone knows where i can find them that would be great.
Another question i have when i go to configure this do i still need to include ./configure --with-CXX \ --enable-mutibyte \ --without-tk \ --with-tclconfig=/path/to/tclConfig.sh_directory \ --with includes=/path/to/tcl/include \ --with-libraries=/path/to/tcl/lib
Any help would be apreciated thanks.Also iam on fedora 9
Last edited by ipfreely28; 07-30-2008 at 12:43 AM.
Reason: added text
Right now, you only need to pass --with-tclconfig=/usr/local/lib/tcl. If the configure script complains about not finding some header file (a .h file), then you might need to tell it where to find the header with the --with-includes switch. Generally you won't need this unless you have the headers in a weird place like your home directory.
ok i have done that now it give me
configure:WARNING: option ignored: --enable-mutibyte
configure:WARNING: option ignored: --with-CXX
configure:WARNING: option ignored: --without-tk
Heres the list of some of the things i done i finished the install i asked about earlyer it worked with a older version.
Building PostgreSQL
Get the postgresql-8.1.7.tar.gz file you downloaded into step 1.
Unpack it :
linux:/root# tar -xzf postgresql-8.1.7.tar.gz
linux:/root# cd postgresql-8.1.7/
linux:/root/postgresql-8.1.7# ./configure --enable-multibyte \
--with-CXX --with-tcl --without-tk
If the configure complains about not finding tclConfig.sh, or if
you experience missing .h files when doing the next steps of compilation,
you may want to re-run the ./configure adding the following parameters :
You need gmake 3.79 or above to build PostgreSQL (and you will also need
it for GNUWorld later), check you have it by running gmake --version,
you should get something like this :
Note: You will also need automake 1.6 or above in order to build GNUWorld.
linux:/root/postgresql-8.1.7# gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <bug-make@gnu.org>.
If you don't have gmake, you can get it here.
If you don't have automake 1.6, you can get it here.
If that's ok, you can go on and build PostgreSQL for real, then
install it...
(I get to here i find a rpm of this and install it no problems)
Now we need to install LibPQ++
linux:/root# cd ..
linux:/root# tar -xzf libpq++-4.0.tar.gz
linux:/root# cd libpq++-4.0/
Now you can build LibPQ++, provided you have the correct version of gmake.
You shouldnt be at this step if you dont.
linux:/root/libpq++-4.0# gmake
linux:/root/libpq++-4.0# gmake install
linux:/root# cd ..
Now we can install PgTCL, provided you have the correct version of gmake.
You shouldnt be at this step if you dont.
(Here i could not find a directory for libpgtcl so i figured its just pgtcl 1.5 i not sure if iam right here but i continue through the next steps fine or seems that way lol)
linux:/root# cd libpgtcl/
linux:/root/libpgtcl# export \
PG_CONFIG=/usr/local/pgsql/bin/pg_config
linux:/root/libpgtcl# ./configure --with-tcl \
--prefix=/usr/local/pgsql \
--exec-prefix=/usr/local/pgsql \
--with-postgres-lib=/usr/local/pgsql/lib
If the configure complains about not finding tclConfig.sh, or if
you experience missing .h files when doing the next steps of compilation,
you may want to re-run the ./configure adding the following parameters :
--with-tcl=/path/to/tclConfig.sh_directory
linux:/root/libpgtcl# gmake
Open up generic/pgtclAppInit.c in an editor and change
Edit the file /etc/ld.so.conf and add the following line :
/usr/local/pgsql/lib
save the file, then run :
linux:/root# ldconfig
To check that your PostgreSQL installation includes TCL support,
check that the following file exists onto your system :
(I get far as here i ran pgtclsh and it says,./pgtclsh:error while loading shared libraries: libpgtcl1.5.so: cannot open shared object file : no such file or directory this is the part i need help with thanks)
/usr/local/pgsql/bin/pgtclsh
Last edited by ipfreely28; 07-30-2008 at 03:10 PM.
Reason: added text
ok i have done that now it give me
configure:WARNING: option ignored: --enable-mutibyte
configure:WARNING: option ignored: --with-CXX
configure:WARNING: option ignored: --without-tk
any ideas?
I'm curious ... out of which hat did you draw those options?
Heh ... OK, for future reference: to see what options a particular
programs configure script will accept, please invoke it with
'./configure --help'
rather than blindly assuming that the options valid for one program
will work on others ;}
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.