On 27/11/15 02:11, KI7MT wrote:
> Hi Barry,
>
> I wasn't aware you were looking for a script to build the source tarball.
>
> I made up a maintainer script some time back that allows me to build
> either the current RC branch or the Devel branch, both the tarball and
> application build. It's not real fancy, but gets the job done.
>
> The script will provide / perform the following:
> * Get WSJT-X SVN revision
> * Downloads, then uses the latest supberbuild script from svn
> * Downloads the latest Hamlib3 sources via superbuild
> * Downloads the latest WSJT-X sources via superbuild
> * Creates a single tar.gz file ready for compiling
> * Configure and Build WSJT-X
> * Install the build to the users home directory
>
> The install directories are located in:
> * ~/wsjtx-superbuild/wsjtx-sb/{1.7.0,1.6.0} .. ..
>
> Source Packages are located in:
> * ~/wsjtx-superbuild/archive
>
> I stash the script in my $HOME/bin directory, and call it with:
>
> For 1.7.0 Devel Branch:
> wsjtx-superbuild -d
>
> For 1.6.0 Release Candidate
> wsjtx-superbuild -r
>
> The RC branch location should be updated whenever Bill sets up another
> RC location, right now it is using ^branches/wsjtx-1.6
>
> For 1.6.0, you'll also get a warning message if the script does not find
> the KVASD binary in /usr/bin, however, that is a local use message, and
> does not affect on the tarball generation.
>
>
> 73's
> Greg, KI7MT

Hi Greg,
Many thanks for the script - rather more polished than mine :)

However, it seems to ignore $INSTALLD, tries to install to 
/usr/local/bin and chokes at that point.

I left all the paths alone, as you have them.

Install the project...
-- Install configuration: "RELEASE"
-- Installing: /usr/local/bin/wsjtx

I am a little confused as to why it actually needs to build anything at 
all, let alone install.
Maybe it could have a switch to skip the install?

The machine and OS version that I am building on is not the same as the 
final build server, so building seems irrelevant, but maybe I'm missing 
something. Cmake is not my forte.

I cannot see anywhere in the script that it's picking up /usr/local so 
I'm a bit stumped.

Any ideas?

Barry
G4MKT


------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to