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

From: Fabiano Fidêncio <fabiano_at_fidencio.org>
Date: Sun Jun 26 2011 - 01:34:29 CEST

On Sat, Jun 25, 2011 at 7:07 AM, Kathiravelu Pradeeban
<kk.pradeeban@gmail.com> wrote:
> On Sat, Jun 25, 2011 at 1:02 PM, Fabiano Fidêncio <fabiano@fidencio.org> wrote:
>> 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.
>
> Excellent. Thanks. :)

Fixed in r29875!

>>
>> 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
>>
>
>
>
> --
> Kathiravelu Pradeeban.
> Software Engineer.
> WSO2 Inc.
>
> Blog: [Llovizna] http://kkpradeeban.blogspot.com/
>

-- 
Fabiano Fidêncio
Received on Sun Jun 26 01:34:36 2011

This archive was generated by hypermail 2.1.8 : Sun Jun 26 2011 - 01:34:36 CEST