On 3/18/2014 10:22 AM, Giuseppe (Joe) Slomp wrote:
Neat!  Thanks for the super-prompt reply!

Xcode 5.1 has introduced widespread breakage in our builds.

Why am I not surprised, quite a few other builds have been broken by it.

We’re getting somewhere, pidgin installed. Now I am getting the error below (I 
don’t appear to have pango and I am not sure which one should I install).

joes1stmacmini:~ joe$ pidgin

(Pidgin:60274): Pango-CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
   '/sw/lib/pango-ft219/etc/pango/pango.modules'
You should create this file by running:
   pango-querymodules > '/sw/lib/pango-ft219/etc/pango/pango.modules'

(Pidgin:60274): Pango-WARNING **: failed to choose a font, expect ugly output. 
engine-type='PangoRenderFc', script='latin'

(Pidgin:60274): Pango-WARNING **: failed to choose a font, expect ugly output. 
engine-type='PangoRenderFc', script=‘common'



Joe
Il giorno 18/mar/2014, alle ore 16:08, Alexander Hansen 
<alexanderk.han...@gmail.com> ha scritto:

On 3/18/14, 7:09 AM, Giuseppe (Joe) Slomp wrote:
Hi all.

I am trying to install aspell (as part of a pidgin install) using fink
(freshly installed and selfupdated) on Mavericks.

Package manager version: 0.36.3.1
Distribution version: selfupdate-rsync Tue Mar 18 14:32:07 2014, 10.9,
x86_64
Trees: local/main stable/main
Xcode.app: 5.1
Xcode command-line tools: 5.1.0.0.1.1393561416
Max. Fink build jobs:  1

There are several errors (full output attached), then compiling stops.
Not sure how to proceed. Thanks for any help.

Joe

fink install aspell



g++ -DHAVE_CONFIG_H -I. -I./gen  -I./gen -I./common -I./interfaces/cc/
-I./modules/speller/default/ -DLOCALEDIR="\"/sw/share/locale\""
-I/sw/include  -g -O2 -fno-exceptions -c -o prog/aspell.o prog/aspell.cpp
In file included from prog/aspell.cpp:38:
In file included from prog/check_funs.hpp:10:
In file included from prog/checker_string.hpp:14:
In file included from ./common/document_checker.hpp:10:
In file included from ./common/filter.hpp:13:
In file included from ./common/posib_err.hpp:13:
*./common/errors.hpp:17:36: **error: **redefinition of 'aerror_other'
with a different type: 'const acommon::ErrorInfo *const' vs 'const
struct AspellErrorInfo *const'*
extern "C" const ErrorInfo * const aerror_other;
*                                   ^*
*./interfaces/cc/aspell.h:240:45: **note: *previous definition is here
extern const struct AspellErrorInfo * const aerror_other;
*                                            ^*

Try saving the attached .info/.patch files to /sw/fink/dists/local/main/finkinfo and then try to rebuild aspell. Hopefully the updated patch fixes the build on 10.9 (10.7 tested OK).

Hanspeter

Package: aspell
Version: 0.60.6.1
Revision: 3
Source: mirror:gnu:%n/%n-%v.tar.gz
Source-MD5: e66a9c9af6a60dc46134fdacf6ce97d7
GCC: 4.0
BuildDepends: libncursesw5 (>= 5.4-20041023-1001), libgettext8-dev, 
gettext-tools, libiconv-dev, fink (>= 0.24.12-1)
Depends: ncurses, libncursesw5-shlibs (>= 5.4-20041023-1001), 
libgettext8-shlibs, libiconv, %N-shlibs (>= %v-%r)
Conflicts: pspell
Replaces: pspell
Suggests: aspell-en
PatchFile: %n.patch
PatchFile-MD5: ef62600056162c4a134111ed63d2b0cd
ConfigureParams: --enable-doc-dir='${prefix}/share/doc/%n' --enable-curses 
--enable-dict-dir='${prefix}/share/aspell' --infodir='${prefix}/share/info' 
--mandir='${prefix}/share/man' --enable-compile-in-filters 
--disable-dependency-tracking
InstallScript: <<
  make install DESTDIR=%d
  cp -p %b/scripts/ispell %i/bin
<<
SplitOff: <<
  Package: %N-dev
  Depends: %N (>= %v-%r), %N-shlibs (= %v-%r)
  Replaces: %N (<< 0.60.4-1000), %N-shlibs (<< 0.60.4-1)
  BuildDependsOnly: True
  Files: <<
                include
                lib/libaspell.la
                lib/libpspell.la
                lib/lib*spell.dylib
  <<

  DocFiles: COPYING* README manual/aspell-dev.html
  InfoDocs: aspell-dev.info
<<
SplitOff2: <<
  Package: %N-shlibs
  Depends: libgettext8-shlibs, libiconv
  Files: <<
     lib/lib*spell*.dylib
     share/locale
  <<
  Shlibs: <<
    %p/lib/libaspell.15.dylib 17.0.0 %n (>= 0.60.5-1002)
    %p/lib/libpspell.15.dylib 17.0.0 %n (>= 0.60.5-1002)
  <<
  Description: Spell check better ispell - Shared libs
  DocFiles: COPYING* README
<<
SplitOff3: <<
  Package: %N-compat
  Depends: %N (>= %v-%r)
  Conflicts: ispell
  Files: bin/ispell
  Description: Spell check better than ispell - Ispell compat
  DocFiles: COPYING* README
<<
DocFiles: README COPYING manual/aspell.html
InfoDocs: aspell.info
License: GPL
Homepage: http://aspell.net
Description: Spell checker better than ispell
DescDetail: <<
No dictionaries are installed - you'll need to install
the aspell-en package or another aspell dictionary.
Dictionaries that were used on previous versions of
aspell must be updated to work with this version.
aspell-compat installs a script called "ispell" that
behave like ispell, but better.
<<
DescPackaging: <<
  dmacks: patch gettext.h to access ENABLE_NLS from configure so that
  gettext is enabled. Patch gettext_init.cpp so that message catalogs,
  which are used by the .dylib, include libversion in their name (for
  Shared Library Policy sanity). Patch Makefile.in to quote LOCALEDIR
  correctly for compiler.
  
  nieder: patch aspell.h to build with clang from Xcode > 5, avoiding
  redefinitions.
<<
Maintainer: Kevin Horton <khorto...@rogers.com>
diff -Nurd -x'*~' aspell-0.60.5.orig/Makefile.in aspell-0.60.5/Makefile.in
--- aspell-0.60.5.orig/Makefile.in      2006-12-19 06:03:37.000000000 -0500
+++ aspell-0.60.5/Makefile.in   2008-01-31 02:10:11.000000000 -0500
@@ -486,7 +486,7 @@
 AM_CPPFLAGS = -I${srcdir}/gen -I${srcdir}/common \
        -I${srcdir}/interfaces/cc/ \
        -I${srcdir}/modules/speller/default/ \
-       -DLOCALEDIR="$(localedir)"
+       -DLOCALEDIR="\"$(localedir)\""
 SUFFIXES = .info
 
 ### Before this line add the corresponding <yourfilterlibrary>_SOURCES and
diff -Nurd -x'*~' aspell-0.60.5.orig/common/gettext.h 
aspell-0.60.5/common/gettext.h
--- aspell-0.60.5.orig/common/gettext.h 2004-11-20 21:52:22.000000000 -0500
+++ aspell-0.60.5/common/gettext.h      2008-01-31 02:01:41.000000000 -0500
@@ -23,6 +23,7 @@
 #define _LIBGETTEXT_H 1
 
 /* NLS can be disabled through the configure --disable-nls option.  */
+#include "settings.h"
 #if ENABLE_NLS
 
 /* Get declarations of GNU message catalog functions.  */
diff -Nurd -x'*~' aspell-0.60.5.orig/common/gettext_init.cpp 
aspell-0.60.5/common/gettext_init.cpp
--- aspell-0.60.5.orig/common/gettext_init.cpp  2004-11-09 03:20:24.000000000 
-0500
+++ aspell-0.60.5/common/gettext_init.cpp       2008-01-31 02:05:50.000000000 
-0500
@@ -16,7 +16,7 @@
     if (did_init) return;
     did_init = true;
   }
-  bindtextdomain("aspell", LOCALEDIR);
+  bindtextdomain("aspell.15", LOCALEDIR);
 }
 
 #else
diff -Nurd -x'*~' aspell-0.60.6.1.orig/interfaces/cc/aspell.h 
aspell-0.60.6.1/interfaces/cc/aspell.h
--- aspell-0.60.6.1.orig/interfaces/cc/aspell.h 2011-07-02 16:53:27.000000000 
-0500
+++ aspell-0.60.6.1/interfaces/cc/aspell.h      2014-03-26 21:35:26.000000000 
-0500
@@ -237,6 +237,7 @@
 /******************************** errors ********************************/
 
 
+#ifndef __cplusplus
 extern const struct AspellErrorInfo * const aerror_other;
 extern const struct AspellErrorInfo * const aerror_operation_not_supported;
 extern const struct AspellErrorInfo * const   aerror_cant_copy;
@@ -322,6 +323,7 @@
 extern const struct AspellErrorInfo * const   aerror_bad_magic;
 extern const struct AspellErrorInfo * const aerror_expression;
 extern const struct AspellErrorInfo * const   aerror_invalid_expression;
+#endif
 
 
 /******************************* speller *******************************/
diff -Nurd -x'*~' aspell-0.60.5.orig/po/Makevars aspell-0.60.5/po/Makevars
--- aspell-0.60.5.orig/po/Makevars      2004-01-03 07:06:24.000000000 -0500
+++ aspell-0.60.5/po/Makevars   2008-02-03 16:18:05.000000000 -0500
@@ -1,7 +1,7 @@
 # Makefile variables for PO directory in any package using GNU gettext.
 
 # Usually the message domain is the same as the package name.
-DOMAIN = $(PACKAGE)
+DOMAIN = $(PACKAGE).15
 
 # These two variables depend on the location of this directory.
 subdir = po
------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to