Re: Is gobjc added as a dependency to make enchant (even on Linux)?

From: Fabiano Fidêncio <fabiano_at_fidencio.org>
Date: Sat Jun 25 2011 - 09:32:22 CEST

On Sat, Jun 25, 2011 at 3:27 AM, Kathiravelu Pradeeban
<kk.pradeeban@gmail.com> wrote:
> Hi Fidencio,
> I took an svn update and built enchant using Ubuntu/Linux. It fails as
> below. Why do we need Objective C dependency to build in other
> environments? I thought, it is only for OS/X.

Wow!
My first breakage! :-)

The idea was only add Objective C as dependency when OS X system was detected.
In a few hours I'm going to my parents house and I'll fix it from there.

So sorry for the breakage!

>
> Regards,
> Pradeeban.
>
> pradeeban@pradeeban:~/programs/abiword/enchant_$ make
> Making all in src
> make[1]: Entering directory `/home/pradeeban/programs/abiword/enchant_/src'
> Making all in .
> make[2]: Entering directory `/home/pradeeban/programs/abiword/enchant_/src'
> /bin/bash ../libtool   --mode=compile gcc -DPACKAGE_NAME=\"\"
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"enchant\"
> -DVERSION=\"1.6.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> -DLT_OBJDIR=\".libs/\" -DHAVE_FLOCK=1 -DHAVE_LOCKF=1 -DHAVE_LOCALE_H=1
> -DHAVE_LC_MESSAGES=1 -I. -I.. -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include   -DENCHANT_PREFIX_DIR='"NONE"' -Wall
> -Wextra -Wsign-compare -Werror-implicit-function-declaration
> -Wpointer-arith -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked
> -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2
> -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement
> -Wold-style-definition -Wno-missing-field-initializers
> -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline
> -fno-strict-aliasing
> -DENCHANT_GLOBAL_MODULE_DIR=\"/usr/local/lib/enchant\"
> -DENCHANT_GLOBAL_ORDERING=\"/usr/local/share/enchant\"
> -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.0\"
> -DXP_TARGET_COCOA -xobjective-c     -MT enchant_cocoa.lo -MD -MP -MF
> .deps/enchant_cocoa.Tpo -c -o enchant_cocoa.lo enchant_cocoa.m
> libtool: compile:  gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE_URL=\"\" -DPACKAGE=\"enchant\" -DVERSION=\"1.6.0\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
> -DHAVE_FLOCK=1 -DHAVE_LOCKF=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
> -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -DENCHANT_PREFIX_DIR=\"NONE\" -Wall -Wextra -Wsign-compare
> -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
> -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations
> -Wdeclaration-after-statement -Wold-style-definition
> -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes
> -Wno-long-long -Winline -fno-strict-aliasing
> -DENCHANT_GLOBAL_MODULE_DIR=\"/usr/local/lib/enchant\"
> -DENCHANT_GLOBAL_ORDERING=\"/usr/local/share/enchant\"
> -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"1.6.0\"
> -DXP_TARGET_COCOA -xobjective-c -MT enchant_cocoa.lo -MD -MP -MF
> .deps/enchant_cocoa.Tpo -c enchant_cocoa.m  -fPIC -DPIC -o
> .libs/enchant_cocoa.o
> gcc: error trying to exec 'cc1obj': execvp: No such file or directory
> make[2]: *** [enchant_cocoa.lo] Error 1
> make[2]: Leaving directory `/home/pradeeban/programs/abiword/enchant_/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/pradeeban/programs/abiword/enchant_/src'
> make: *** [all-recursive] Error 1
>
>
> --
> Kathiravelu Pradeeban.
> Software Engineer.
> WSO2 Inc.
>
> Blog: [Llovizna] http://kkpradeeban.blogspot.com/
>

Best Regards,

-- 
Fabiano Fidêncio
Received on Sat Jun 25 09:32:29 2011

This archive was generated by hypermail 2.1.8 : Sat Jun 25 2011 - 09:32:29 CEST