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
운영게시판
최근게시물
LDAP Q&A 1692 게시물 읽기
No. 1692
CA구축시 Net-LDAPapi-42에 관한 질문임다
작성자
왕초보
작성일
2002-10-21 18:36
조회수
4,974

CA를 구축하려고 하는데

제가 가지고있는 자료는 http://www.openssl.org/related/에 있는

http://ospkibook.sourceforge.net/를 참고하고 있습니다.

RedHat 7.2 리눅스에서 나름대로 한다고 했는데 잘 안되네여 ^^

문제가 되는 부분을 정리해봤습니다.

 

------------------------ 문 제 -------------------------------

1> Appendix D. OpenCA Installation details에서

D.1.1. Installation of Perl modules의

1,2,3,4,5번까지는 무사히 잘 깔리는데

6. Net-LDAPapi-1.42.tar.gz부분에서 make를 돌리면

LDAPapi.o부분이 자꾸 에러가 나네여 ^^

제가 생각해본 결과 ldap_ssl.h 부분이 없어서 그런거 같아서

인터넷을 뒤지다가 님의 자료를 읽게 되었습니다.

님의 자료대로라면 Netscape LDAP SDK 1.0을 설치해야

Net-LDAPapi-1.42.tar.gz의 LDAPapi.o가 돌아간다는 것 같은데

어떻게 하면 Netscape LDAP SDK 1.0을 구할 수 있을까요?

CVS가 Netscape LDAP SDK 1.0과 같은건가요?

이것을 해결하려면 어떻게 해야하는것인지 충고 좀 해주세여 ^^

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

< 문제점1 >

Net-LDAPapi-1.42에서 에러가 생긴다.

 

[root@islab Net-LDAPapi-1.42]# perl Makefile.PL

Net::LDAPapi Perl5 Module - by Clayton Donley

Enter How I Should Run Perl5 (ex. /usr/bin/perl, c:\perl\bin\perl),

(default: /usr/bin/perl)?

 

Select your Development Kit:

1. Netscape (default)

2. University of Michigan

3. ISODE (compiled with LDAP)

Choose:

Location of LDAP Include Files (default: /usr/include): Location of LDAP Library Files (default: /usr/lib):

Using Netscape's NEW LDAPv3 Development Kit (default: n)?

Note (probably harmless): No library found for -lldap10

Writing Makefile for Net::LDAPapi

 

======> ldap10을 어디서 구할 수 있나여??

 

< 문제점2 >

ldap_ssl.h 파일이 필요

[root@islab Net-LDAPapi-1.42]# make

gcc -c -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\"-fPIC -I/usr/lib/perl5/5.6.0/i386 -linux/CORE -DNETSCAPE_LDAP LDAPapi.c

LDAPapi.xs:19:23: ldap_ssl.h: 그런 파일이나 디렉토리가 없음

make: *** [LDAPapi.o] 오류 1

 

< 해결 >

ldap_ssl.h 파일 구했음

 

< 문제3 >

ldap_ssl.h 파일 구해서 돌려 보았는데 다음과 같은 결과가 나왔음

 

[root@islab Net-LDAPapi-1.42]# make

gcc -c -I/usr/local/ldap/include -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/CORE -DNETSCAPE_LDAP LDAPapi.c

In file included from LDAPapi.xs:19:

/usr/local/ldap/include/ldap_ssl.h:23: parse error before `ldapssl_init'

.........................................................................

.........................................................................

/usr/local/ldap/include/ldap_ssl.h:125: warning: data definition has no type or storage class

LDAPapi.xs:39: parse error before `ns_internal_rebind_proc'

LDAPapi.xs: In function `av2modvals':

LDAPapi.xs:95: `na' undeclared (first use in this function)

LDAPapi.xs:95: (Each undeclared identifier is reported only once

LDAPapi.xs:95: for each function it appears in.)

LDAPapi.xs: In function `parse1mod':

LDAPapi.xs:197: `na' undeclared (first use in this function)

LDAPapi.c: In function `XS_Net__LDAPapi_ldap_version':

LDAPapi.c:540: `LDAPVersion' undeclared (first use in this function)

LDAPapi.c:540: `ver' undeclared (first use in this function)

LDAPapi.c:540: parse error before `)'

LDAPapi.c:541: parse error before `int'

LDAPapi.c:544: `RETVAL' undeclared (first use in this function)

LDAPapi.c:545: `targ' undeclared (first use in this function)

LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search':

LDAPapi.xs:578: `na' undeclared (first use in this function)

LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search_s':

LDAPapi.xs:614: `na' undeclared (first use in this function)

LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search_st':

LDAPapi.xs:660: `na' undeclared (first use in this function)

LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_explode_dns':

LDAPapi.xs:895: warning: assignment makes pointer from integer without a cast

LDAPapi.c: In function `XS_Net__LDAPapi_ldapssl_init':

LDAPapi.c:1623: warning: assignment makes pointer from integer without a cast

LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_set_rebind_proc':

LDAPapi.xs:1004: too many arguments to function `ldap_set_rebind_proc'

LDAPapi.xs:1014: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer type

LDAPapi.xs:1014: too many arguments to function `ldap_set_rebind_proc'

LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_url_parse':

LDAPapi.xs:1103: structure has no member named `lud_options'

LDAPapi.xs:1137: `sv_undef' undeclared (first use in this function)

LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_multisort_entries':

LDAPapi.xs:1221: `na' undeclared (first use in this function)

make: *** [LDAPapi.o] 오류 1

 

==================> 오류 해결하기 위해 어떻게 해야 하나여??

[Top]
No.
제목
작성자
작성일
조회
1695ldapadd가 안되요.. ㅠㅠ [1]
정경진
2002-11-04
4684
1694openldpa설치시에러좀 봐주세요 [1]
송상민
2002-10-31
4983
1693[질문] CR(Carriage Return),리턴,엔터 는 어떻게 넣나요?
서현수
2002-10-28
4924
1692CA구축시 Net-LDAPapi-42에 관한 질문임다
왕초보
2002-10-21
4974
1690iplanet server starting error -- cos_cache_getref: no cos cache created [1]
jack
2002-10-21
4921
1689특정노드에서 add가 가능한 범위는?
이병주
2002-10-19
4713
1684SunOS5.8에서 LDAP 로그 찍히게 하는 방법 아시는 분 손
김효정
2002-10-15
4796
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다