[GNC] Uninstall GC

Dennis Powless dpowless517 at pobox.com
Fri May 3 15:57:29 EDT 2019


This is the begging of the entire terminal on the build.....

dennis at dennis-HP-Pavilion-Laptop-15-cc0xx:~$ cd /home/dennis/Applications

dennis at dennis-HP-Pavilion-Laptop-15-cc0xx:~/Applications$ mkdir
build-gnucash-3.1

dennis at dennis-HP-Pavilion-Laptop-15-cc0xx:~/Applications$ ls

build-gnucash-3.1 gnucash-3.1

dennis at dennis-HP-Pavilion-Laptop-15-cc0xx:~/Applications$ cmake
-DCMAKE_INSTALL_PREFIX=/home/dennis/.local/home/dennis/Applications/gnucash-3.1

CMake Error: The source directory "/home/dennis/Applications" does not
appear to contain CMakeLists.txt.

Specify --help for usage, or press the help button on the CMake GUI.



Eventually, I was able to build GC....  I was VERY confused on the cmake
command and went off of suggestions from this list back then.


D







On Fri, May 3, 2019 at 10:42 AM John Ralls <jralls at ceridwen.us> wrote:

> David,
>
> You're right, I misread his cmake command line. I should have said `rm -rf
> ~/.local`.
>
> Of course that might also have collateral damage if he's installed other
> things into .local.
>
>   find ~/.local -name *gnucash* -o -name *gnc* -exec rm -rf {} \;
>
> will safely remove everything GnuCash installs with the possible exception
> of libgwengui-gtk3.so if the system doesn't provide it.
>
> Regards,
> John Ralls
>
> > On May 2, 2019, at 6:39 PM, David Cousens <davidcousens at bigpond.com>
> wrote:
> >
> > John,
> >
> > Won't that simply remove the source directories. With that prefix Dennis
> has
> > installed under /home/dennis/.local. If the build directory is under
> > ~/Applications/gnucash-3.1 then he will lose the manifest by using rm
> -rf
> > on the source directory.
> >
> > If he can locate the original build directory then issuing make uninstall
> > from a terminal open in that directory. I have adopted the practice of
> > putting the build directory inside the source directory and retaining
> both
> > (I once found that the make uninstall procedure seems to reference the
> > source directories not simply the manifest file or the build directories
> but
> > I have never checked this out fully) until after I have removed a build.
> It
> > doesn't cause any problems and keeps everything you need for an uninstall
> > together.
> >
> > Dennis
> > Your build directory is unlikely to be gnucash-3.1, that is most likely
> the
> > source directory. Where it is located is the directory from which you
> > originally executed the cmake command since you used absolute addressing
> to
> > the source. It may be  inside gnucash-3.1 if you used the mkdir <build>
> and
> > cd <build> commands from the terminal open atgnucash-3.1 before issuing
> the
> > make command. Here <build> is a generic notation for a filename for a
> build
> > file. It will have whatever name you gave it at the time. The attached
> > screenshot gives you the directory structure and files in the build
> > directory note the dist_manifest.txt and install_manifest.txt. These
> will be
> > present in your build directory.
> > Selection_009.png
> > <http://gnucash.1415818.n4.nabble.com/file/t375329/Selection_009.png>
> >
> > David Cousens
> >
> >
> >
> > -----
> > David Cousens
> > --
> > Sent from:
> http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> > _______________________________________________
> > 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.
>
> _______________________________________________
> 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