答复: 答复: how to install library in a specific directory?

2009-07-23 Thread A117
yeah. You are totally right. thank you. -邮件原件- 发件人: John Calcote [mailto:john.calc...@gmail.com] 发送时间: 2009年7月24日 14:45 收件人: A117 抄送: Automake@gnu.org 主题: Re: 答复: how to install library in a specific directory? On 7/24/2009 12:36 AM, A117 wrote: > I’ve removed the backslashes and

Re: 答复: how to install library in a s pecific directory?

2009-07-23 Thread John Calcote
On 7/24/2009 12:36 AM, A117 wrote: I’ve removed the backslashes and made them all one-line statements. No help. What about the backslash at the end of your commented EXTRA_DIST line? Try removing that one too. It could be that it's causing the comment to include the following line, which

Re: how to install library in a specific directory?

2009-07-23 Thread John Calcote
On 7/24/2009 12:21 AM, A117 wrote: lib_LTLIBRARIES = libezcommon.la myincludedir = $(includedir)/ezproject myinclude_HEADERS= ezcommon.h tinystr.h tinyxml.h libezcommon_la_SOURCES = ezcommon.cpp \ tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp #libezcommon_la_LIBADD = tinystr.

Re:Re: how to install library in a specific directory?

2009-07-23 Thread A117
lib_LTLIBRARIES = libezcommon.la myincludedir = $(includedir)/ezproject myinclude_HEADERS= ezcommon.h tinystr.h tinyxml.h libezcommon_la_SOURCES = ezcommon.cpp \ tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp #libezcommon_la_LIBADD = tinystr.o tinyxml.o tinyxmlerror.o tinyxmlpar

Re: 答复: how to install library in a s pecific directory?

2009-07-23 Thread John Calcote
On 7/23/2009 7:45 PM, A117 wrote: Sorry I forgot to mention the files in EXTRA_DIST are to be packed into release package. All the cpp files mentioned here already exists and are to be compiled and released. If I put all cpp files in _SOURCES, the EXTRA_DIST files are not released. The only wa

答复: how to install library in a spec ific directory?

2009-07-23 Thread A117
Sorry I forgot to mention the files in EXTRA_DIST are to be packed into release package. All the cpp files mentioned here already exists and are to be compiled and released. If I put all cpp files in _SOURCES, the EXTRA_DIST files are not released. The only way I've found is to put only one cpp

Re: how to install library in a specific directory?

2009-07-23 Thread John Calcote
On 7/23/2009 4:28 AM, A117 wrote: Why don't I need to run ldconfig manually after installing other official softwares, like osip2? I tried "ldconfig -p" and saw the library was aware of, i.e., listed, before running "ldconfig". But linkage could not find the library then. Linux distro ins

Re: how to install library in a specific directory?

2009-07-23 Thread William Pursell
bonami wrote: > I have two projects. One generates a shared library and the other uses it. > The library is to be installed in /usr/local/lib/ezproject, > … > ezcommon's Makefile.am, > lib_LTLIBRARIES = libezcommon.la > libdir = $(exec_prefix)/lib/ezproject This is a bad idea. The project m

Re: how to install library in a specific directory?

2009-07-23 Thread A117
Why don't I need to run ldconfig manually after installing other official softwares, like osip2? I tried "ldconfig -p" and saw the library was aware of, i.e., listed, before running "ldconfig". But linkage could not find the library then. And can I ask another question? I want to build some sou