database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 3749 게시물 읽기
No. 3749
postgres7.0 설치에러...
작성자
김병주
작성일
2001-12-18 16:59
조회수
1,486

설치과정 입니다..

--------------------------------------------------------------------------------

$ gmake all

.

.

.

tab-complete.c: In function `initialize_readline':

tab-complete.c:93: warning: assignment from incompatible pointer type

tab-complete.c: In function `psql_completion':

tab-complete.c:251: warning: implicit declaration of function `completion_matches'

tab-complete.c:251: warning: assignment makes pointer from integer without a cast

tab-complete.c:255: warning: assignment makes pointer from integer without a cast

tab-complete.c:260: warning: assignment makes pointer from integer without a cast

tab-complete.c:268: warning: assignment makes pointer from integer without a cast

tab-complete.c:275: warning: assignment makes pointer from integer without a cast

tab-complete.c:280: warning: assignment makes pointer from integer without a cast

tab-complete.c:285: warning: assignment makes pointer from integer without a cast

tab-complete.c:288: warning: assignment makes pointer from integer without a cast

tab-complete.c:304: warning: assignment makes pointer from integer without a cast

tab-complete.c:316: warning: assignment makes pointer from integer without a cast

tab-complete.c:324: warning: assignment makes pointer from integer without a cast

tab-complete.c:330: warning: assignment makes pointer from integer without a cast

tab-complete.c:334: warning: assignment makes pointer from integer without a cast

tab-complete.c:337: warning: assignment makes pointer from integer without a cast

tab-complete.c:344: warning: assignment makes pointer from integer without a cast

tab-complete.c:347: warning: assignment makes pointer from integer without a cast

tab-complete.c:353: warning: assignment makes pointer from integer without a cast

tab-complete.c:359: warning: assignment makes pointer from integer without a cast

tab-complete.c:364: warning: assignment makes pointer from integer without a cast

tab-complete.c:372: warning: assignment makes pointer from integer without a cast

tab-complete.c:378: warning: assignment makes pointer from integer without a cast

tab-complete.c:383: warning: assignment makes pointer from integer without a cast

tab-complete.c:388: warning: assignment makes pointer from integer without a cast

tab-complete.c:396: warning: assignment makes pointer from integer without a cast

tab-complete.c:401: warning: assignment makes pointer from integer without a cast

tab-complete.c:413: warning: assignment makes pointer from integer without a cast

tab-complete.c:416: warning: assignment makes pointer from integer without a cast

tab-complete.c:419: warning: assignment makes pointer from integer without a cast

tab-complete.c:429: warning: assignment makes pointer from integer without a cast

tab-complete.c:437: warning: assignment makes pointer from integer without a cast

tab-complete.c:444: warning: assignment makes pointer from integer without a cast

tab-complete.c:455: warning: assignment makes pointer from integer without a cast

tab-complete.c:464: warning: assignment makes pointer from integer without a cast

tab-complete.c:468: warning: assignment makes pointer from integer without a cast

tab-complete.c:476: warning: assignment makes pointer from integer without a cast

tab-complete.c:479: warning: assignment makes pointer from integer without a cast

tab-complete.c:482: warning: assignment makes pointer from integer without a cast

tab-complete.c:492: warning: assignment makes pointer from integer without a cast

tab-complete.c:495: warning: assignment makes pointer from integer without a cast

tab-complete.c:501: warning: assignment makes pointer from integer without a cast

tab-complete.c:505: warning: assignment makes pointer from integer without a cast

tab-complete.c:510: warning: assignment makes pointer from integer without a cast

tab-complete.c:521: warning: assignment makes pointer from integer without a cast

tab-complete.c:524: warning: assignment makes pointer from integer without a cast

tab-complete.c:528: warning: assignment makes pointer from integer without a cast

tab-complete.c:536: warning: assignment makes pointer from integer without a cast

tab-complete.c:542: warning: assignment makes pointer from integer without a cast

tab-complete.c:546: warning: assignment makes pointer from integer without a cast

tab-complete.c:555: warning: assignment makes pointer from integer without a cast

tab-complete.c:561: warning: assignment makes pointer from integer without a cast

tab-complete.c:567: warning: assignment makes pointer from integer without a cast

tab-complete.c:574: warning: assignment makes pointer from integer without a cast

tab-complete.c:577: warning: assignment makes pointer from integer without a cast

tab-complete.c:585: warning: assignment makes pointer from integer without a cast

tab-complete.c:589: warning: assignment makes pointer from integer without a cast

tab-complete.c:591: warning: assignment makes pointer from integer without a cast

tab-complete.c:596: warning: assignment makes pointer from integer without a cast

tab-complete.c:601: warning: assignment makes pointer from integer without a cast

tab-complete.c:603: warning: assignment makes pointer from integer without a cast

tab-complete.c:605: warning: assignment makes pointer from integer without a cast

tab-complete.c:612: warning: assignment makes pointer from integer without a cast

tab-complete.c:623: `filename_completion_function' undeclared (first use in this function)

tab-complete.c:623: (Each undeclared identifier is reported only once

tab-complete.c:623: for each function it appears in.)

tab-complete.c:623: warning: assignment makes pointer from integer without a cast

tab-complete.c:648: warning: assignment makes pointer from integer without a cast

tab-complete.c:662: warning: assignment makes pointer from integer without a cast

gmake[2]: *** [tab-complete.o] Error 1

.

.

.

Thank you for choosing PostgreSQL, the most advanced open source database

engine.

-----------------------------------------------------------------------------------

[root@i-on src]# vi /etc/profile

.

.

.

PATH=$PATH:/usr/local/pgsql/bin

# this tells the shell where to look for applications

 

MANPATH=$MANPATH:/usr/local/pgsql/man

# this tells the shell where to look for those handy documents

 

PGLIB=/usr/local/pgsql/lib

# this tells the shell and Postgres where to look for shared libs

 

PGDATA=/usr/local/pgsql/data

# this is the default directory where data is stored

 

export PATH MANPATH PGLIB PGDATA

# this tells the shell to pay attention to all the changes you have made.

----------------------------------------------------------------------------------

 

[root@i-on src]# su postgres

[postgres@i-on src]$ initdb

This database system will be initialized with username "postgres".

This user will own all the data files and must also own the server process.

 

Creating database system directory /usr/local/pgsql/data

Creating database system directory /usr/local/pgsql/data/base

Creating database XLOG directory /usr/local/pgsql/data/pg_xlog

Creating template database in /usr/local/pgsql/data/base/template1

Creating global relations in /usr/local/pgsql/data/base

Adding template1 database to pg_database

 

Creating view pg_user.

Creating view pg_rules.

Creating view pg_views.

Creating view pg_tables.

Creating view pg_indexes.

Loading pg_description.

Vacuuming database.

 

Success. You can now start the database server using:

 

/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data

or

/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data start

-------------------------------------------------------------------------------------

 

[postgres@i-on src]$ postmaster -i &

[1] 12411

[postgres@i-on src]$ DEBUG: Data Base System is starting up at Tue Dec 18 16:37:52 2001

DEBUG: Data Base System was shut down at Tue Dec 18 16:37:38 2001

DEBUG: Data Base System is in production state at Tue Dec 18 16:37:52 2001

--------------------------------------------------------------------------------------

 

[root@i-on src]# su postgres

[postgres@i-on src]$ createuser eztool

Shall the new user be allowed to create databases? (y/n) y

Shall the new user be allowed to create more new users? (y/n) y

/usr/local/pgsql/bin/createuser: /usr/local/pgsql/bin/psql: No such file or directory

createuser: creation of user "eztool" failed

-------------------------------------------------------------------------------------

 

[postgres@i-on src]$ psql

bash: psql: command not found

[postgres@i-on src]$

[root@i-on src]# find / -name psql

/usr/src/pgsql/postgresql-7.0/src/bin/psql

[root@i-on src]# cd /usr/src/pgsql/postgresql-7.0/src/bin/psql

[root@i-on psql]# ls

command.c common.o describe.c help.o large_obj.h Makefile prompt.c startup.c tab-complete.c win32.mak

command.h copy.c describe.h input.c large_obj.o Makefile.in prompt.h startup.o tab-complete.h

command.o copy.h describe.o input.h mainloop.c print.c prompt.o stringutils.c variables.c

common.c copy.o help.c input.o mainloop.h print.h settings.h stringutils.h variables.h

common.h create_help.pl help.h large_obj.c mainloop.o print.o sql_help.h stringutils.o variables.o

[root@i-on psql]#

 

=====================================================================================

 

아.. 어찌된영문인지 모르겠네요..

다시 깔아야 되는건가요?

이 글에 대한 댓글이 총 1건 있습니다.

설치는 어디에서 하시는 중인가요?

궁금하군요.

 

그리고 에러 메시지를 보니 제대로 설치가 되지 않은 것 같습니다.

정재익(advance)님이 2001-12-19 20:51에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
3753제약조건 수정하기
박종수
2001-12-19
1405
3756┕>Re: 제약조건 수정하기 [2]
정재익
2001-12-19 21:42:39
1849
3751고수님들 가르쳐 주세요
원형일
2001-12-19
1303
3752┕>Re: INSERT INTO ... SELECT ...
정재익
2001-12-19 09:16:12
1531
3750유저와 디비생성 질문과 기타질문...
mong2
2001-12-18
1756
3755┕>Re: 유저와 디비생성 질문과 기타질문...
정재익
2001-12-19 20:58:38
1913
3749postgres7.0 설치에러... [1]
김병주
2001-12-18
1486
3746postgres 에서 수학함수에 대한 질문.
궁금녀
2001-12-18
1395
3747┕>Re: postgres 에서 수학함수에 대한 질문.
김종정
2001-12-18 12:46:24
1567
3745[질문]WORK,TRANSACTION
김철환
2001-12-18
1321
3748┕>Re: [질문]WORK,TRANSACTION
정재익
2001-12-18 13:16:29
1431
3744createuser 에러 [6]
김병주
2001-12-17
1947
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.019초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다