Home > Database > Mysql Tutorial > body text

Ubuntu Linux下编译PostgreSQL 8.3.4学习体会

WBOY
Release: 2016-06-07 16:53:05
Original
963 people have browsed it

学习分析源代码postgresql,这几天刚刚起步,看了相关文章,准备工作。别人说要在Linux下先编译一下源码,以便后期工作。我电脑上

学习分析源代码PostgreSQL,这几天刚刚起步,看了相关文章,准备工作。别人说要在Linux下先编译一下源码,以便后期工作。我电脑上的Linux终于有用了。我用的是Ubuntu-8.0.4

下源码:postgresql-8.3.4.tar.bz2

主要是下面几行命令:

Linux@Linux-laptop:~/Desktop$:tar jxvf postgresql-8.3.4.tar.bz2
Linux@Linux-laptop:~/Desktop$:cd postgresql-8.3.4
Linux@Linux-laptop:~/Desktop/postgresql-8.3.4$ : ./configure --prefix=/opt/postgresql -9.3.4
Linux@Linux-laptop:~/Desktop/postgresql-8.3.4$ :make
Linux@Linux-laptop:~/Desktop/postgresql-8.3.4$ :make install

但是搞了老半天没成功:只要是第三行命令的时候有错误

如报错:

./configure error - readline library not found

又查下,主要要装一些东西: bison,flex,libreadline5-dex 这些在新立得软件包管理器里面可以直接装。

其实我对Linux也刚开始学!

PS: 对于源码安装,新立得里面有一个Kinstall,这个可以图形话的安装,,不用打命令了。但是手动安装可以练练手。

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!