Not really. It makes more sense to automate the patch, which I'll do shortly.

Regards,
John Ralls


> On Sep 6, 2023, at 10:14 PM, Ian Plunkett <ian.plunk...@gmail.com> wrote:
> 
> That worked!
> 
> [1/2] Generating 
> ../../share/doc/pt/gnucash-manual/figures/AccountReg_Screen.png, 
> ../../shar...s/TxRptOpt_Screen.png, 
> ../../share/doc/pt/gnucash-manual/figures/icons/split_transaction.png
> I: Moving temporary DESTDIR 
> '/Users/gnucash/opt/gnucash/inst/_jhbuild/root-gnucash-docs-git' into build 
> prefix
> I: Install complete: 3779 files copied
> *** success *** [80/80]
> 
> Thanks for the help.  Would it be useful for me to update the wiki?   
> https://wiki.gnucash.org/wiki/MacOS/Quartz
> 
> -Ian
> 
>> On Sep 6, 2023, at 4:24 PM, john <jra...@ceridwen.us> wrote:
>> 
>> 
>> 
>>> On Sep 6, 2023, at 15:24, Ian Plunkett <ian.plunk...@gmail.com> wrote:
>>> 
>>> Hello GnuCash Development Team!
>>> 
>>> I’m trying to build GnuCash on a freshly installed M1 MacBook Air running 
>>> Ventura (13.5.1).  I followed the guidelines here - 
>>> https://wiki.gnucash.org/wiki/MacOS/Quartz
>>> 
>>> When I run jhbuild build, the aqbanking module is failing with the 
>>> following:
>>> 
>>> 
>>> libtool: link: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc 
>>> -dynamiclib  -o .libs/libaqbanking.44.dylib  .libs/dummy.o   
>>> -Wl,-force_load,aqbanking/.libs/libaqbanking_base.a 
>>> -Wl,-force_load,plugins/.libs/libabplugins.a  
>>> -L/Users/gnucash/opt/gnucash/inst/lib 
>>> -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib
>>>  -lgwenhywfar -lgmp -lz -lxmlsec1 -lltdl -lxslt -lxml2  -arch arm64 
>>> -isysroot 
>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
>>>  -mmacosx-version-min=13 -g -arch arm64 -isysroot 
>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
>>>  -mmacosx-version-min=13 -Wl,-headerpad_max_install_names -g   
>>> -install_name  /Users/gnucash/opt/gnucash/inst/lib/libaqbanking.44.dylib 
>>> -compatibility_version 50 -current_version 50.4 -Wl,-single_module
>>> Undefined symbols for architecture arm64:
>>> "_libintl_dgettext", referenced from:
>>>     _showUsage in libabplugins.a(main.o)
>>> ld: symbol(s) not found for architecture arm64
>>> clang: error: linker command failed with exit code 1 (use -v to see 
>>> invocation)
>>> make[4]: *** [Makefile:780: libaqbanking.la <http://libaqbanking.la/>] 
>>> Error 1
>>> make[4]: Leaving directory 
>>> '/Users/gnucash/opt/gnucash/build/aqbanking-6.5.4/src/libs'
>>> make[3]: *** [Makefile:840: all-recursive] Error 1
>>> make[3]: Leaving directory 
>>> '/Users/gnucash/opt/gnucash/build/aqbanking-6.5.4/src/libs'
>>> make[2]: *** [Makefile:472: all-recursive] Error 1
>>> make[2]: Leaving directory 
>>> '/Users/gnucash/opt/gnucash/build/aqbanking-6.5.4/src'
>>> make[1]: *** [Makefile:759: all-recursive] Error 1
>>> make[1]: Leaving directory 
>>> '/Users/gnucash/opt/gnucash/build/aqbanking-6.5.4'
>>> make: *** [Makefile:558: all] Error 2
>>> *** Error during phase build of aqbanking: ########## Error running make 
>>> -j1 -j1  *** [52/80]
>>> 
>>> 
>>> Any idea how I can fix this? Is there any way to build GnuCash via jhbuild 
>>> without building the aqbanking module?  
>> 
>> Yes. Apply this patch:
>> --- configure.ac~    2023-03-01 10:04:09
>> +++ configure.ac     2023-07-25 09:29:06
>> @@ -733,7 +733,7 @@
>> if test "$OS_TYPE" != "windows"; then
>>   oldlibs="$LIBS"
>>   LIBS=""
>> -  AC_SEARCH_LIBS(gettext, intl, [], [HAVE_I18N="no"])
>> +  AC_SEARCH_LIBS(libintl_gettext, intl, [], [HAVE_I18N="no"])
>>   i18n_libs="$LIBS"
>>   LIBS="$oldlibs"
>> else
>> 
>> and tell jhbuild to re-run configure.
>> 
>> Regards,
>> John Ralls
> 

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to