5. There is mention that Pat can work with Winmor and potentially ARDOP. True? If so, There needs to be a little documentation telling people what to do to make this work
The repository already have .deb scripts (debian/) and osx packager
config (osx/). Would be great to include your RPM work into the
repository as well, and maybe provide RPM packages in future releases :)
First of, let me just apologize for the missing instructions on building
from source. The project just recently moved into it's own repository.
The old repository (github.com/la5nta/wl2k-go) have a wiki page with
build instructions, but the build process changed when it was moved.
Go 1.5 is one of the new requirements introduced when Pat got it's own
repository. Go 1.5 introduces a dependency vendoring mechanism used by
Pat. This should definitely be mentioned in the build instructions,
thanks for pointing it out.
All official releases is built with the latest stable Go distribution
(currently 1.6).
> 2. Once I download the Pat sources, there aren't any instructions
> on what to do next. There is the included make.bash script but it
> seems to be focused on Git downloaded sources (I downloaded the
> v0.1.0.tar.gz file directly). Maybe these sources are supposed to be
> placed in my Go workspace? I'm new to Go. If this is true, where
> should files go that should be runable by ALL users on this Linux machine
Yes, the source code must be placed under
$GOPATH/src/github.com/la5nta/pat/. See
https://github.com/golang/go/wiki/GOPATH for more info on this topic.
The Go toolchain have this all sorted out. "go get" will fetch the
latest release of Pat, place it under $GOPATH/src/github.com/la5nta/pat
(including all dependencies):
go get github.com/la5nta/pat
However, the standard "go get" does have some limitations that I've
resolved by supplying the make.bash-script. This is how I build a
release for Linux with libax25 support:
Download the latest stable release sources:
- go get -d -v github.com/la5nta/pat (download only, verbose. This
uses git clone.)
Build:
- cd $GOPATH/src/github.com/la5nta/pat
- TAGS="libax25" ./make.bash
> 3. In the Getting Started guide, it says to run "pat configure" but
> that doesn't work. I would assume I need to do something like "go pat
> configure" but that doesn't work either. What's missing here? Maybe
> it's something like "go install $GOPATH/pat-0.1.0/main.go but that
> fails out as well.
The Getting Started guide assumes Pat is installed and available in
$PATH. Sorry for not making it clear in the guide, I'll fix that :)
The source code archives is basically just a archived snapshot of the
repository automatically created by github when you tag a release.
Unfortunately, the name is taken directly from the git tag. Changing the
naming conventions of a the git tags seems to be a bit excessive, see
http://stackoverflow.com/questions/2006265/is-there-a-standard-naming-convention-for-git-tags
for a discussion on that topic.
Yes, Pat supports both WINMOR and ARDOP. There is some brief
"documentation" on how to set up winmor at
https://github.com/la5nta/pat/wiki/The-command-line-interface#winmor-configuration.
One initial question that I meant to ask: What does the name "Pat" stand for? The previous wl2k-go name was quite obvious.
The repository already have .deb scripts (debian/) and osx packager
config (osx/). Would be great to include your RPM work into the
repository as well, and maybe provide RPM packages in future releases :)
I'd be happy to provide SPEC files and work on getting various Fedora/EPEL repos to package your project.
It seems that Pat is an application built from the sources of wl2k-go but is there any future for wk2k-go going forward? Anything interesting going on in that project that "Pat" people should be aware of?
Ok though currently, Centos6 only has Go 1.5.1 available. Unless you really have to do it, keeping things running under Go 1.5.1 would be helpful for us Centos folk.
Ok.. but you missed my final question above.. how would I install things for all users on a system? Having GOPATH=$HOME/work/src/github.com/la5nta/pat will only make things available to ME.
The Go toolchain have this all sorted out. "go get" will fetch the
latest release of Pat, place it under $GOPATH/src/github.com/la5nta/pat
(including all dependencies):
go get github.com/la5nta/pat
So are you saying that downloading Pat should be done via this mechanism and NOT via the .tar.gz approach as posted on your getpat.io site?
However, the standard "go get" does have some limitations that I've
resolved by supplying the make.bash-script. This is how I build a
release for Linux with libax25 support:
Ok.. I'm definitely interested in using Pat with libax25 so I'll go that route. I also see that this script is using Perl so I'll have to add that to the RPM SPEC file requirements.
Download the latest stable release sources:
- go get -d -v github.com/la5nta/pat (download only, verbose. This
uses git clone.)
So git is also an RPM dependency
I guess libax25 is also a dependency. This should be documented somewhere so people looking for AX.25 support know what to have installed before hand.
Do I really need to put Pat in my path? I really hate adding stuff to paths as it really slows things down. My ideal setup would be that once Pat is compiled, I would put it's binaries in say /usr/local/bin per an RPM install.
Ok.. understood. Just also note that every distro packager will have to download your v0.1.0.tar.gz file and rename it to pat-0.1.0.tar.gz to match almost any of the modern packaging systems. It's also strange that the outside file is v0.1.0.tar.gz but inside it, it's using a more helpful pat-0.1.0/ directory.
- Will Pat auto-start "wine winmor"?
- Will Pat auto-start "wine ardopc"?
Btw... what version of Hamlib are you supporting? 2.1? 3.0? I know that 3.1 is due soon that integrates a lot of changes from the WSJT-X program. You also might consider adding support for FLrig which offers it's own streamlined set of controlled rigs with a very nice XML interface.
So maybe the Wiki's "easy way" only works with Golang v1.6 so I then tried the hard way. Though getting the Git modules via this method was working very well (ugh.. lots of dependencies here.. 14MB worth), it seemingly died here after like 20minutes of waiting:
--
git submodule update --init --recursive
Re-running the above commend hung again at the same fsnotify.v1 package (very unusual for Git). Seems like the Github or Golang repo might be having an issue here?
Any thoughts on how to proceed?
Thanks for tracking this one down!
I have opened an issue and plan on including a fix in the upcoming release (v0.1.2).
https://github.com/la5nta/pat/issues/31
--
You received this message because you are subscribed to the Google Groups "pat-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pat-users+...@googlegroups.com.
To post to this group, send email to pat-...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pat-users/6275105a-9eb9-4e85-a83b-9c66fe6cff9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.