[GNC] Trouble building Gnucash 4.8
davidcousens49 at gmail.com
davidcousens49 at gmail.com
Mon Dec 20 16:05:28 EST 2021
See this post
https://www.mail-archive.com/gnucash-user@gnucash.org/msg27927.html
there is a script problem that requires a patch in 4.8. will be fixed in 4.9
David Cousens
On Mon, 2021-12-20 at 12:58 -0500, M wrote:
> I'm having an issue building gnucash, but I am not an expert and am sure
> I am doing something wrong!
>
> Build environment - Fresh install of Ubuntu 20.04 in a VM
> Build Dependencies - Installed dependencies per
> https://wiki.gnucash.org/wiki/Installing_Dependencies
>
> Using the instructions at
> https://wiki.gnucash.org/wiki/Building_On_Linux, and following the Build
> using Cmake and Make instructions.
>
> I can successfully run cmake -DCMAKE_INSTALL_PREFIX=/opt ../gnucash-4.8
>
> However, when I run make, I get an error. A copy-and-paste of my screen
> at the failure point is below:
>
> ------
> [ 97%] Generating ../../share/glib-2.0/schemas/gschemas.compiled
> [ 98%] Built target compiled-schemas
> Scanning dependencies of target migratable-prefs
> [ 98%] Generating ../../share/gnucash/migratable-prefs.xml
> CMake Error: cmake version 3.16.3
> Usage: /usr/bin/cmake -E <command> [arguments...]
> Available commands:
> capabilities - Report capabilities built into cmake in
> JSON format
> chdir dir cmd [args...] - run command in a given directory
> compare_files [--ignore-eol] file1 file2
> - check if file1 is same as file2
> copy <file>... destination - copy files to destination (either file
> or directory)
> copy_directory <dir>... destination - copy content of <dir>...
> directories to 'destination' directory
> copy_if_different <file>... destination - copy files if it has changed
> echo [<string>...] - displays arguments as text
> echo_append [<string>...] - displays arguments as text but no new line
> env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]...
> - run command in a modified environment
> environment - display the current environment
> make_directory <dir>... - create parent and <dir> directories
> md5sum <file>... - create MD5 checksum of files
> sha1sum <file>... - create SHA1 checksum of files
> sha224sum <file>... - create SHA224 checksum of files
> sha256sum <file>... - create SHA256 checksum of files
> sha384sum <file>... - create SHA384 checksum of files
> sha512sum <file>... - create SHA512 checksum of files
> remove [-f] <file>... - remove the file(s), use -f to force it
> remove_directory <dir>... - remove directories and their contents
> rename oldname newname - rename a file or directory (on one volume)
> server - start cmake in server mode
> sleep <number>... - sleep for given number of seconds
> tar [cxt][vf][zjJ] file.tar [file/dir1 file/dir2 ...]
> - create or extract a tar or zip archive
> time command [args...] - run command and display elapsed time
> touch <file>... - touch a <file>.
> touch_nocreate <file>... - touch a <file> but do not create it.
> create_symlink old new - create a symbolic link new -> old
> true - do nothing with an exit code of 0
> false - do nothing with an exit code of 1
>
> make[2]: ***
> [gnucash/gschemas/CMakeFiles/migratable-prefs.dir/build.make:61:
> share/gnucash/migratable-prefs.xml] Error 1
> make[2]: *** Deleting file 'share/gnucash/migratable-prefs.xml'
> make[1]: *** [CMakeFiles/Makefile2:11923:
> gnucash/gschemas/CMakeFiles/migratable-prefs.dir/all] Error 2
> make: *** [Makefile:163: all] Error 2
>
> --------------
>
> Does the make command produce any error logs I can troubleshoot? I see
> logs for Cmake, but nothing for Make. I tried deleting the build
> directory and running Cmake again with the flags to build without SQL,
> AQBANKING, and OFX just to eliminate as much source of possible error as
> I could, but I got the same results when running make.
>
> Any ideas how I can go about troubleshooting this?
>
> Thanks in advance!
>
> Mike
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list