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

From: Kathiravelu Pradeeban <kk.pradeeban_at_gmail.com>
Date: Sat Jun 25 2011 - 08:27:58 CEST

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.

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/
Received on Sat Jun 25 08:28:25 2011

This archive was generated by hypermail 2.1.8 : Sat Jun 25 2011 - 08:28:25 CEST