[devlibs-gtk3] Compile Aspell with GCC-4.8.1
Bug #1252711 reported by
jazzynico
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape Devlibs |
Fix Released
|
Medium
|
jazzynico |
Bug Description
Aspell is not part of the Opensuse 13.1 cross-platforms libraries. Thus we need to compile it by ourself, and it doesn't seem to be a piece of cake (at least for me). Otherwise, we can't enable the spell checker.
Related branches
Changed in inkscape-devlibs: | |
importance: | Undecided → Medium |
summary: |
- Compile Aspell with GCC-4.8.1 + [devlibs-gtk3] Compile Aspell with GCC-4.8.1 |
To post a comment you must log in.
Here's what I've tried:
1. Download aspell-0.60.6.1 from http:// aspell. net/. win32-relocatab le LDFLAGS= "-L/z/dl3/ lib -lpthreadGC2" string. o libaspell.la 4.8.1/bin/ ../lib/ gcc/mingw32/ 4.8.1/. ./../.. /libpthread. a(libwinpthread _la-mutex. o):mutex. c:(.text+ 0x498): multiple definition of `pthread_ mutex_unlock' lib/libpthreadG C2.a(dtvbs00054 .o):(.text+ 0x0): first defined here z:/mingw32- 4.8.1/bin/ ../lib/ gcc/mingw32/ 4.8.1/. ./../.. /libpthread. a(libwinpthread _la-mutex. o):mutex. c:(.text+ 0x55c): multiple definition of `pthread_ mutex_init' lib/libpthreadG C2.a(dtvbs00050 .o):(.text+ 0x0): first defined here z:/mingw32- 4.8.1/bin/ ../lib/ gcc/mingw32/ 4.8.1/. ./../.. /libpthread. a(libwinpthread _la-mutex. o):mutex. c:(.text+ 0x924): multiple definition of `pthread_ mutex_lock' lib/libpthreadG C2.a(dtvbs00051 .o):(.text+ 0x0): first defined here z:/mingw32- 4.8.1/bin/ ../lib/ gcc/mingw32/ 4.8.1/. ./../.. /libpthread. a(libwinpthread _la-mutex. o):mutex. c:(.text+ 0xa18): multiple definition of `pthread_ mutex_destroy' lib/libpthreadG C2.a(dtvbs00049 .o):(.text+ 0x0): first defined here collect2.exe: error: ld returned 1 exit status local/src/ aspell- 0.60.6. 1'
2. Patch the files with the attached diff.
3. Launch configure with the following options: --enable-
4. make fails with the following error:
---
/bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -fno-exceptions -L/z/dl3/lib -lpthreadGC2 -o aspell.exe prog/aspell.o prog/check_funs.o prog/checker_
libtool: link: g++ -g -O2 -fno-exceptions -o aspell.exe prog/aspell.o prog/check_funs.o prog/checker _string.o -L/z/dl3/lib ./.libs/libaspell.a -lpthreadGC2 -lintl
z:/mingw32-
z:/dl3/
z:/dl3/
z:/dl3/
z:/dl3/
make[1]: *** [aspell.exe] Error 1
make[1]: Leaving directory `/z/devlibs-
make: *** [all-recursive] Error 1
---
I understand there's a conflict between devlibs' pthreadGC2.a and Mingw32's pthread.a. I've tried to use -lpthread instead of -lpthreadGC2, but it also fails some lines before.
Any idea?