<br><br><div><span class="gmail_quote">On 10/29/07, <b class="gmail_sendername">Gunawan</b> <<a href="mailto:jgun98.milis@gmail.com">jgun98.milis@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>----- Original Message -----<br>From: "ML" <<a href="mailto:ml@seven.sys.com.mx">ml@seven.sys.com.mx</a>><br>To: "Ubuntu user technical support,not for general discussions"<br><<a href="mailto:ubuntu-users@lists.ubuntu.com">
ubuntu-users@lists.ubuntu.com</a>><br>Sent: Monday, October 29, 2007 7:50 AM<br>Subject: Re: Install PostgreSQL 8.2.5<br><br><br>>> Hi All,<br>>> I am having problem while installing Postgre...<br>>><br>
>> List of files<br>>> joe@joe-desktop:~/temp/postgresql-8.2.5$ ls -all<br>>> total 1332<br>>> drwxrwxrwx  6 joe joe   4096 2007-10-26 22:53 .<br>>> drwxr-xr-x  5 joe joe   4096 2007-10-26 22:29 ..
<br>>> -rw-r--r--  1 joe joe    445 2004-04-23 14:15 aclocal.m4<br>>> drwxrwxrwx  2 joe joe   4096 2007-10-26 22:29 config<br>>> -rw-r--r--  1 joe joe   6676 2007-10-26 22:53 config.log<br>>> -rwxr-xr-x  1 joe joe 704819 2007-09-14 16:18 configure
<br>>> -rw-r--r--  1 joe joe  47564 2007-09-14 16:18 <a href="http://configure.in">configure.in</a><br>>> drwxrwxrwx 31 joe joe   4096 2007-10-26 22:29 contrib<br>>> -rw-r--r--  1 joe joe   1192 2006-03-05 10:58 COPYRIGHT
<br>>> drwxrwxrwx  4 joe joe   4096 2007-10-26 22:29 doc<br>>> -rw-r--r--  1 joe joe   3787 2006-08-18 15:58 GNUmakefile.in<br>>> -rw-r--r--  1 joe joe 491670 2007-09-16 01:19 HISTORY<br>>> -rw-r--r--  1 joe joe  47443 2007-09-16 01:19 INSTALL
<br>>> -rw-r--r--  1 joe joe   1434 2006-08-18 15:58 Makefile<br>>> -rw-r--r--  1 joe joe   2062 2006-07-24 12:55 README<br>>> drwxrwxrwx 14 joe joe   4096 2007-10-26 22:29 src<br>>><br>>><br>
>> Instruction in the INSTALL file<br>>>                                 Short Version<br>>><br>>> ./configure<br>>> gmake<br>>> su<br>>> gmake install<br>>> adduser postgres
<br>>> mkdir /usr/local/pgsql/data<br>>> chown postgres /usr/local/pgsql/data<br>>> su - postgres<br>>> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data<br>>> /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
<br>>> /usr/local/pgsql/bin/createdb test<br>>> /usr/local/pgsql/bin/psql test<br>>><br>>><br>>><br>>> I tried to run ./configure but got this error<br>>><br>>> joe@joe-desktop
:~/temp/postgresql-8.2.5$ ./configure<br>>> checking build system type... i686-pc-linux-gnulibc1<br>>> checking host system type... i686-pc-linux-gnulibc1<br>>> checking which template to use... linux<br>
>> checking whether to build with 64-bit integer date/time support... no<br>>> checking whether NLS is wanted... no<br>>> checking for default port number... 5432<br>>> checking for gcc... gcc<br>>> checking for C compiler default output file name... configure: error: C
<br>>> compiler cannot<br>>> create executables<br>>> See `config.log' for more details.<br>>> joe@joe-desktop:~/temp/postgresql-8.2.5$<br>>><br>>><br>>> joe@joe-desktop:~/temp/postgresql-
8.2.5$ gcc --version<br>>> gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)<br>>> Copyright (C) 2006 Free Software Foundation, Inc.<br>>> This is free software; see the source for copying conditions.  There is<br>
>> NO<br>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR<br>>> PURPOSE.<br>>><br>>> joe@joe-desktop:~/temp/postgresql-8.2.5$<br>>><br>>><br>>> joe@joe-desktop
:~/temp/postgresql-8.2.5$ gmake<br>>> bash: gmake: command not found<br>>><br>>> joe@joe-desktop:~/temp/postgresql-8.2.5$ make<br>>> You need to run the 'configure' program first. See the file
<br>>> 'INSTALL' for installation instructions.<br>>> make: *** [all] Error 1<br>>><br>>> joe@joe-desktop:~/temp/postgresql-8.2.5$ make --version<br>>> GNU Make 3.81<br>>> Copyright (C) 2006  Free Software Foundation, Inc.
<br>>> This is free software; see the source for copying conditions.<br>>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A<br>>> PARTICULAR PURPOSE.<br>>><br>>> This program built for i486-pc-linux-gnu
<br>>> joe@joe-desktop:~/temp/postgresql-8.2.5$<br>>><br>>> I can't complete postgresql installation.<br>>><br>>> TIA<br>>> Gun<br>>><br>>><br>>> --<br>>> ubuntu-users mailing list
<br>>> <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>>> Modify settings or unsubscribe at:<br>>> <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
</a><br>>><br>><br>><br>> sudo apt-get install build-essential<br>></blockquote><div><br><br>Hi, <br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
May I know what is it for?</blockquote><div><br>It installs a list of packages which are considered essential for building, compiling packages. Use<br><br># aptitude show package-name<br><br><span>for a short description of any package. There are a lot of auxiliary tools and build helper available for what you are doing. On Google Video is a Talk from Jonathan Oxer, which may gives you a short overview of building software and packages on Ubuntu/Debian.
</span><br><br><a href="http://video.google.com/videoplay?docid=-6726522426109060914">http://video.google.com/videoplay?docid=-6726522426109060914</a> [Google Video]<br><br>Regards, <br>Benjamin<br><br><br></div></div>