[GNC] Trouble finding executable after build

Geert Janssens geert.gnucash at kobaltwit.be
Tue Nov 20 14:55:02 EST 2018


This is the right question. I don't see a run of 

make
sudo make install

If you don't run these successfully, nothing will appear in /usr/local.

Note make install is run via sudo. On a typical linux system ordinary users 
are not allowed to write into /usr/local unless they have administrator 
privileges and invoke those. That's what "sudo" does.

Regards,

Geert



Op dinsdag 20 november 2018 19:54:03 CET schreef Maf. King:
> Hi,
> 
> daft question - did you do a make install?
> 
> I've never compiled GC, and I'm not up with cmake so maybe you don't have
> to, but make uninstall failed and I didn't see make install?
> 
> sorry if I'm up the wrong path...
> 
> Maf.
> 
> On Tuesday, 20 November 2018 18:38:26 GMT Joe Peters wrote:
> > Hi;
> > I am a bit of a noob so hopefully this is an easy answer.  I was having
> > trouble getting online quotes to work in gnucash so I decided to try and
> > build it from source and see if that fixed the issue.  Going through the
> > guides I believe I managed to  do so but I cannot find the program in my
> > /usr/local as shown below.  My initial compile did not work (shown below)
> > but I fixed the missing library (libsecret-1-dev) and then got a build
> > with
> > no apparent errors.
> > 
> > For reference, below is the listing of;
> > 
> >   *   Failed attempt to build gnucash
> >   *   My attempt to uninstall
> >   *   Successful build of gnucash?
> >   *   Listing of /usr/local
> > 
> > So my question, I hope someone can answer, is did I build the application
> > properly and where is the application?
> > 
> > michelle at michelle-Lenovo-IdeaPad-Y570:~/Applications/gnucash-3.3/build$
> > cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=ON ../ -- The C
> > compiler identification is GNU 7.3.0
> > -- The CXX compiler identification is GNU 7.3.0
> > -- Check for working C compiler: /usr/bin/cc
> > -- Check for working C compiler: /usr/bin/cc -- works
> > -- Detecting C compiler ABI info
> > -- Detecting C compiler ABI info - done
> > -- Detecting C compile features
> > -- Detecting C compile features - done
> > -- Check for working CXX compiler: /usr/bin/c++
> > -- Check for working CXX compiler: /usr/bin/c++ -- works
> > -- Detecting CXX compiler ABI info
> > -- Detecting CXX compiler ABI info - done
> > -- Detecting CXX compile features
> > -- Detecting CXX compile features - done
> > -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
> > -- Checking for module 'glib-2.0>=2.40'
> > --   Found glib-2.0, version 2.56.3
> > -- Checking for module 'gio-2.0'
> > --   Found gio-2.0, version 2.56.3
> > -- Checking for module 'gobject-2.0>=2.20'
> > --   Found gobject-2.0, version 2.56.3
> > -- Checking for module 'gmodule-2.0>=2.20'
> > --   Found gmodule-2.0, version 2.56.3
> > -- Checking for module 'gthread-2.0>=2.20'
> > --   Found gthread-2.0, version 2.56.3
> > -- Checking for module 'libxml-2.0>=2.7.0'
> > --   Found libxml-2.0, version 2.9.4
> > -- Checking for module 'libxslt'
> > --   Found libxslt, version 1.1.29
> > -- Checking for module 'webkit2gtk-4.0'
> > --   Found webkit2gtk-4.0, version 2.22.2
> > -- Checking for module 'gtk+-3.0>=3.10.0'
> > --   Found gtk+-3.0, version 3.22.30
> > -- Checking for module 'zlib'
> > --   Found zlib, version 1.2.11
> > -- Found Gettext: /usr/bin/msgmerge (found suitable version "0.19.8.1",
> > minimum required is "0.19.6") -- Using guile-2.0.x
> > -- Using guile SRFI-64
> > -- Checking for module 'gwenhywfar'
> > --   Found gwenhywfar, version 4.20.0
> > -- Checking for module 'aqbanking'
> > --   Found aqbanking, version 5.7.8
> > -- Checking for module 'ktoblzcheck'
> > --   Found ktoblzcheck, version 1.49
> > -- Checking for module 'gwengui-gtk3'
> > --   Found gwengui-gtk3, version 4.20.0
> > -- Checking for module 'libofx'
> > --   Found libofx, version 0.9.12
> > -- Performing Test HAVE_OFX_BUG_39
> > -- Performing Test HAVE_OFX_BUG_39 - Failed
> > -- Found LibXslt: xslt;xml2 (found version "1.1.29")
> > -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.7",
> > minimum required is "3") -- Found PythonLibs:
> > /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable version
> > "3.6.7",
> > minimum required is "3") -- Found Perl: /usr/bin/perl (found version
> > "5.26.1")
> > -- Checking for module 'icu-uc'
> > --   Found icu-uc, version 60.2
> > -- Checking for module 'icu-i18n'
> > --   Found icu-i18n, version 60.2
> > -- Checking for module 'libsecret-1>=0.18'
> > --   No package 'libsecret-1' found
> > -- Performing Test have_stringop_truncation
> > -- Performing Test have_stringop_truncation - Failed
> > -- Checking for GTEST
> > -- Looking for pthread.h
> > -- Looking for pthread.h - found
> > -- Looking for pthread_create
> > -- Looking for pthread_create - not found
> > -- Check if compiler accepts -pthread
> > -- Check if compiler accepts -pthread - no
> > -- Looking for pthread_create in pthreads
> > -- Looking for pthread_create in pthreads - not found
> > -- Looking for pthread_create in pthread
> > -- Looking for pthread_create in pthread - found
> > -- Found Threads: TRUE
> > -- Checking for GMOCK
> > -- Looking for include file dirent.h
> > -- Looking for include file dirent.h - found
> > -- Looking for include file dlfcn.h
> > -- Looking for include file dlfcn.h - found
> > -- Looking for include file glob.h
> > -- Looking for include file glob.h - found
> > -- Looking for include file inttypes.h
> > -- Looking for include file inttypes.h - found
> > -- Looking for include file limits.h
> > -- Looking for include file limits.h - found
> > -- Looking for include file locale.h
> > -- Looking for include file locale.h - found
> > -- Looking for include file memory.h
> > -- Looking for include file memory.h - found
> > -- Looking for include file stdint.h
> > -- Looking for include file stdint.h - found
> > -- Looking for include file stdlib.h
> > -- Looking for include file stdlib.h - found
> > -- Looking for include file string.h
> > -- Looking for include file string.h - found
> > -- Looking for include file strings.h
> > -- Looking for include file strings.h - found
> > -- Looking for include file sys/stat.h
> > -- Looking for include file sys/stat.h - found
> > -- Looking for include file sys/time.h
> > -- Looking for include file sys/time.h - found
> > -- Looking for include file sys/times.h
> > -- Looking for include file sys/times.h - found
> > -- Looking for include file sys/types.h
> > -- Looking for include file sys/types.h - found
> > -- Looking for include file sys/wait.h
> > -- Looking for include file sys/wait.h - found
> > -- Looking for include file unistd.h
> > -- Looking for include file unistd.h - found
> > -- Looking for include file utmp.h
> > -- Looking for include file utmp.h - found
> > -- Looking for include file wctype.h
> > -- Looking for include file wctype.h - found
> > -- Check if the system is big endian
> > -- Searching 16 bit integer
> > -- Looking for stddef.h
> > -- Looking for stddef.h - found
> > -- Check size of unsigned short
> > -- Check size of unsigned short - done
> > -- Using unsigned short
> > -- Check if the system is big endian - little endian
> > -- Performing Test have_mod_mask
> > -- Performing Test have_mod_mask - Success
> > -- Configuring done
> > -- Generating done
> > -- Build files have been written to:
> > /home/michelle/Applications/gnucash-3.3/build
> > 
> > 
> > michelle at michelle-Lenovo-IdeaPad-Y570:~/Applications/gnucash-3.3/build$
> > make uninstall Scanning dependencies of target uninstall
> > 
> > CMake Error at cmake_uninstall.cmake:4 (message):
> >   Cannot find install manifest:
> >   /home/michelle/Applications/gnucash-3.3/build/install_manifest.txt
> > 
> > CMakeFiles/uninstall.dir/build.make:57: recipe for target
> > 'CMakeFiles/uninstall' failed make[3]: *** [CMakeFiles/uninstall] Error 1
> > CMakeFiles/Makefile2:249: recipe for target 'CMakeFiles/uninstall.dir/all'
> > failed make[2]: *** [CMakeFiles/uninstall.dir/all] Error 2
> > CMakeFiles/Makefile2:256: recipe for target
> > 'CMakeFiles/uninstall.dir/rule'
> > failed make[1]: *** [CMakeFiles/uninstall.dir/rule] Error 2
> > Makefile:236: recipe for target 'uninstall' failed
> > make: *** [uninstall] Error 2
> > 
> > 
> > Thought I should try uninstall, which gave these errors, but then I
> > thought
> > if it did not build properly I probably did not need to uninstall.
> > 
> > 
> > michelle at michelle-Lenovo-IdeaPad-Y570:~/Applications/gnucash-3.3/build$
> > cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=ON ../ -- Using
> > guile-2.0.x
> > -- Using guile SRFI-64
> > -- Checking for module 'libsecret-1>=0.18'
> > --   Found libsecret-1, version 0.18.6
> > -- Checking for GTEST
> > -- Checking for GMOCK
> > -- Performing Test have_mod_mask
> > -- Performing Test have_mod_mask - Success
> > -- Configuring done
> > -- Generating done
> > -- Build files have been written to:
> > /home/michelle/Applications/gnucash-3.3/build
> > 
> > 
> > listing my /usr/local directories
> > 
> > michelle at michelle-Lenovo-IdeaPad-Y570:~/Applications$ ls /usr/local/*
> > /usr/local/bin:
> > apt  dm_date  dm_zdump  gnome-help  highlight  mint-sha256sum  search 
> > yelp
> > 
> > /usr/local/etc:
> > 
> > /usr/local/games:
> > 
> > /usr/local/include:
> > 
> > /usr/local/lib:
> > python2.7  python3.6  x86_64-linux-gnu
> > 
> > /usr/local/man:
> > man1  man3
> > 
> > /usr/local/sbin:
> > 
> > /usr/local/share:
> > ca-certificates  emacs  fonts  man  perl  sgml  texmf  xml
> > 
> > /usr/local/src:
> > 
> > 
> > 
> > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
> > 10
> > 
> > _______________________________________________
> > 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