Hi!

On Sat, 26 May 2001 19:56:13 R.I.P. Deaddog wrote:

> Not sure if this is my problem only, 

No, I am fighting with pspell and aspell some time, also :-(

> if pspell is removed from system
> before rebuilding, one has to rebuild pspell 3 times before one can
> rebuild a complete package of pspell, like this --

I found a solution for that and it worked well (with the old libtool and on
my system...). It's basically a dirty hack ;-) - If you apply the attached
patch (%patch0 -p0), you should be able to build it in one step.

The problem is obvious when looking at the output (I won't post it, it is a
bit lengthy...): libtool calls c++ with -lpspell before adding the path
were the libpspell.a can be found (as it's not yet installed) to the
library search path.

So the best solution probably is fixing libtool, the next to patch
something...

-- 
  Michael Reinsch <[EMAIL PROTECTED]>                       http://mr.uue.org
------------------------------------------------------------------------
*** interface/Makefile.in~	Fri Apr  6 04:56:49 2001
--- interface/Makefile.in	Tue May 22 23:46:51 2001
***************
*** 160,165 ****
--- 160,166 ----
  	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  	  if test -f $$p; then \
  	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
+ 	    export LIBRARY_PATH=$(DESTDIR)$(libdir); \
  	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
  	  else :; fi; \
  	done

Reply via email to