[Debian-hebrew-common] -fpic

Lior Kaplan webmaster at guides.co.il
Mon Jul 25 21:26:13 UTC 2005


No luck with -fpic. I tried the attached patch.

Maybe you can spend some time writing the manual pages for the example
binaries.

I get this when building with examples:
W: libhdate0: binary-without-manpage hdate_hebcal
W: libhdate0: binary-without-manpage hdate_holydays_html
W: libhdate0: binary-without-manpage hdate_holydays_ical
W: libhdate0: binary-without-manpage hdate_reading_html
W: libhdate0: binary-without-manpage hdate_reading_ical

And I'd like to have an example package... or include them in libhdate0
(what do you think?).

-- 

Regards,

Lior Kaplan
kaplanlior at gmail.com
http://www.Guides.co.il

Debian GNU/Linux unstable (SID)
-------------- next part --------------
--- libhdate-1.2.1.orig/bindings/perl/Makefile.in
+++ libhdate-1.2.1/bindings/perl/Makefile.in
@@ -232,8 +232,8 @@
 @WITH_PERL_TRUE at all-am: hdate.so

 @WITH_PERL_TRUE at hdate.so: hdate_wrap.cxx
- at WITH_PERL_TRUE@       g++ -fpic -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src
- at WITH_PERL_TRUE@       g++ -shared ../../src/*.o hdate_wrap.o -o hdate.so
+ at WITH_PERL_TRUE@       g++ -fPIC -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src
+ at WITH_PERL_TRUE@       g++ -fPIC -shared ../../src/*.o hdate_wrap.o -o hdate.so

 @WITH_PERL_TRUE at hdate_wrap.cxx: hdate.i
 @WITH_PERL_TRUE@       swig -perl -c++ hdate.i
--- libhdate-1.2.1.orig/bindings/python/Makefile.in
+++ libhdate-1.2.1/bindings/python/Makefile.in
@@ -232,8 +232,8 @@
 @WITH_PYTHON_TRUE at all-am: _hdate.so

 @WITH_PYTHON_TRUE at _hdate.so: hdate_wrap.cxx
- at WITH_PYTHON_TRUE@     g++ -fpic -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src
- at WITH_PYTHON_TRUE@     g++ -shared ../../src/*.o hdate_wrap.o -o _hdate.so
+ at WITH_PYTHON_TRUE@     g++ -fPIC -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src
+ at WITH_PYTHON_TRUE@     g++ -fPIC -shared ../../src/*.o hdate_wrap.o -o _hdate.so

 @WITH_PYTHON_TRUE at hdate_wrap.cxx: hdate.i
 @WITH_PYTHON_TRUE@     swig -python -c++ hdate.i


More information about the Debian-hebrew-common mailing list