HNY Albert, Dunno what went wrong with your compile, but for your reference I recorded the build process on my computer running Ubuntu 18.04.3 LTS. Here are the required commands with ## comments: ## Started from this directory: $ pwd /home/karza/ham/wsjtx ## Create build directory $ mkdir -p ~/ham/wsjtx/wsjtx212/build $ cd !$/.. ## Extract source tarball dowloaded to ~/ham/wsjtx/wsjtx212/source $ tar -xf ../source/wsjtx-2.1.2.tgz ## Enter build directory $ cd build/ ## Issue the magic commands $ cmake -DCMAKE_INSTALL_PREFIX=.. -DWSJT_SSKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF ../wsjtx-2.1.2 $ cmake --build . --target install ## Now, after some 3400 lines of messages you are treated with: [100%] Built target install ## WooHoo! ## The WSJTX plus all the other programs can now be found in the 'bin' direcotry $ ls -l ../bin/wsjtx -rwxr-xr-x 1 karza karza 9524896 tammi 2 11:40 ../bin/wsjtx HTH de Kari, oh2gqc

On 2.1.2020 1.59, Albert Gerheim wrote:
I'm getting this error after cmake --build .
CMakeFiles/hamlib-install.dir/build.make:65: recipe for target 'hamlib-prefix/src/hamlib-stamp/hamlib-build' failed
make[2]: *** [hamlib-prefix/src/hamlib-stamp/hamlib-build] Error 1
CMakeFiles/Makefile2:195: recipe for target 'CMakeFiles/hamlib-install.dir/all' failed
make[1]: *** [CMakeFiles/hamlib-install.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

The file CMakeFiles/hamlib-install.dir/build.make is Cmake-generated #DO NOT EDIT.

# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10

Any ideas?

On Wed, Jan 1, 2020 at 6:30 PM Albert Gerheim <alp...@gmail.com <mailto:alp...@gmail.com>> wrote:

    I don't see anything that looks like an executable or an install
    file.  I see WSJT-X icons, and whatever...

    On Wed, Jan 1, 2020 at 6:28 PM Albert Gerheim <alp...@gmail.com
    <mailto:alp...@gmail.com>> wrote:

        If it didn't make a Windows version, how do I accomplish
        that?  :-)


        On Wed, Jan 1, 2020 at 6:18 PM Bill Somerville
        <g4...@classdesign.com <mailto:g4...@classdesign.com>> wrote:

            On 01/01/2020 23:06, Albert Gerheim wrote:
            > OK. I got as far as
            >
            > [100%] Built target wsjtx-install
            > Scanning dependencies of target install
            > [100%] Built target install
            >
            > Where is the executable and/or install file? (Lord, I
            hope it created
            > a windows version!)
            >
            Hi Al,

            it installed into the directory root you specified with the
            CMAKE_INSTALL_PREFIX variable when you configured the
            build. If you
            didn't specify an install prefix then the default is
            /usr/local . To
            install there you would have needed root privilege.

            Assuming it went to /usr/local then type:

            which wsjtx

            to verify it is on your PATH, if not then try:

            /usr/local/bin/wsjtx

            otherwise if you gave an install prefix to cmake like
            ~/wsjtx-prefix ,
            then try:

            ~/wsjtx-prefix/bin/wsjtx

            73
            Bill
            G4WJS.



            _______________________________________________
            wsjt-devel mailing list
            wsjt-devel@lists.sourceforge.net
            <mailto:wsjt-devel@lists.sourceforge.net>
            https://lists.sourceforge.net/lists/listinfo/wsjt-devel



-- Al Gerheim




-- Al Gerheim




--
Al Gerheim




_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to