Re: unversioned shared library

2002-07-03 Thread Eric Van Buggenhaut

On Thu, Jun 20, 2002 at 01:10 +0900, Junichi Uekawa wrote:
 Eric Van Buggenhaut [EMAIL PROTECTED] immo vero scripsit:
 
  I never made a separate packages for the lib part (no -dev either)
  cause the package is really small but now some other DD asks me for an
  extra package, containing the lib (+ another -dev package) because his
  own package depends on the same library.
  
  Upstream author never versioned his dynamic library. What am I
  supposed to do ? What soname should I use for the library ?
 
 
 See libpkg-guide for some help.
 
 
 adding something to:
 
 libwhatever_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
 to Makefile.am should create something reasonable for an unstable shared 
 library, suggest using this for the upstream (if they do versioning at all).
 

This doesn't work here:

[eric@femto]$ automake
Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
[eric@femto]$


[eric@femto]$cat Makefile.am 
## Process this file with automake to produce Makefile.in
SUBDIRS = src
EXTRA_DIST = TODO acconfig.h acinclude.m4
libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
[eric@femto]$   

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: unversioned shared library

2002-07-03 Thread Junichi Uekawa

Eric Van Buggenhaut [EMAIL PROTECTED] immo vero scripsit:

 This doesn't work here:
 
 [eric@femto]$ automake
 Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
 [eric@femto]$
 
 
 [eric@femto]$cat Makefile.am 
 ## Process this file with automake to produce Makefile.in
 SUBDIRS = src
 EXTRA_DIST = TODO acconfig.h acinclude.m4
 libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
 [eric@femto]$   
 

You're adding it to the wrong Makefile.am
Add it somewhere with libiiwusynth_la_SOURCES are defined.

-- 
[EMAIL PROTECTED] : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4
Libpkg-guide: http://www.netfort.gr.jp/~dancer/column/libpkg-guide/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: unversioned shared library

2002-07-03 Thread Eric Van Buggenhaut
On Thu, Jun 20, 2002 at 01:10 +0900, Junichi Uekawa wrote:
 Eric Van Buggenhaut [EMAIL PROTECTED] immo vero scripsit:
 
  I never made a separate packages for the lib part (no -dev either)
  cause the package is really small but now some other DD asks me for an
  extra package, containing the lib (+ another -dev package) because his
  own package depends on the same library.
  
  Upstream author never versioned his dynamic library. What am I
  supposed to do ? What soname should I use for the library ?
 
 
 See libpkg-guide for some help.
 
 
 adding something to:
 
 libwhatever_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 
 0:0:0
 to Makefile.am should create something reasonable for an unstable shared 
 library, suggest using this for the upstream (if they do versioning at all).
 

This doesn't work here:

[EMAIL PROTECTED] automake
Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
[EMAIL PROTECTED]


[EMAIL PROTECTED] Makefile.am 
## Process this file with automake to produce Makefile.in
SUBDIRS = src
EXTRA_DIST = TODO acconfig.h acinclude.m4
libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
[EMAIL PROTECTED]   

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: unversioned shared library

2002-07-03 Thread Junichi Uekawa
Eric Van Buggenhaut [EMAIL PROTECTED] immo vero scripsit:

 This doesn't work here:
 
 [EMAIL PROTECTED] automake
 Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
 [EMAIL PROTECTED]
 
 
 [EMAIL PROTECTED] Makefile.am 
 ## Process this file with automake to produce Makefile.in
 SUBDIRS = src
 EXTRA_DIST = TODO acconfig.h acinclude.m4
 libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 
 0:0:0
 [EMAIL PROTECTED]   
 

You're adding it to the wrong Makefile.am
Add it somewhere with libiiwusynth_la_SOURCES are defined.

-- 
[EMAIL PROTECTED] : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4
Libpkg-guide: http://www.netfort.gr.jp/~dancer/column/libpkg-guide/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]