Hi, everyone, I loaded go using dnf... sudo dnf install go
I am on an AMD64 system with F24 installed.
The issue is that the /usr/share/gocode/src/code.google.com/p was empty. I installed the golang...devel package and it added the go.tools directory with several subdirectories and other things. The issue is that the various libraries needed by the code I am working on are not loaded. I downloaded the latest archive from golang.org and it appears the various things that I need, or at least most of them are in the archive. The problem is that removing the go packages via DNF will probably decimate the system. So how do I remove the current package or update it with the required libraries? I have not been successful in searching for the required packages or libraries using dnf.
Regards, Les H
On 11/18/2016 12:20 PM, Howard Howell wrote:
Hi, everyone, I loaded go using dnf... sudo dnf install go
I am on an AMD64 system with F24 installed.
The issue is that the /usr/share/gocode/src/code.google.com/p was empty. I installed the golang...devel package and it added the go.tools directory with several subdirectories and other things. The issue is that the various libraries needed by the code I am working on are not loaded. I downloaded the latest archive from golang.org and it appears the various things that I need, or at least most of them are in the archive. The problem is that removing the go packages via DNF will probably decimate the system. So how do I remove the current package or update it with the required libraries? I have not been successful in searching for the required packages or libraries using dnf.
Try "dnf install libgo-devel":
Name : libgo-devel Arch : x86_64 Epoch : 0 Version : 6.2.1 Release : 2.fc24 Size : 496 k Repo : updates Summary : Go development libraries URL : http://gcc.gnu.org License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and : LGPLv2+ and BSD Description : This package includes libraries and support files for : compiling Go programs.
---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Have you noticed that "human readable" configuration file - - directives are beginning to resemble COBOL code? - ----------------------------------------------------------------------
On Fri, 2016-11-18 at 13:25 -0800, Rick Stevens wrote:
On 11/18/2016 12:20 PM, Howard Howell wrote:
Hi, everyone, I loaded go using dnf... sudo dnf install go
I am on an AMD64 system with F24 installed.
The issue is that the /usr/share/gocode/src/code.google.com/p was empty. I installed the golang...devel package and it added the go.tools directory with several subdirectories and other things. The issue is that the various libraries needed by the code I am working on are not loaded. I downloaded the latest archive from golang.org and it appears the various things that I need, or at least most of them are in the archive. The problem is that removing the go packages via DNF will probably decimate the system. So how do I remove the current package or update it with the required libraries? I have not been successful in searching for the required packages or libraries using dnf.
Try "dnf install libgo-devel":
Name : libgo-devel Arch : x86_64 Epoch : 0 Version : 6.2.1 Release : 2.fc24 Size : 496 k Repo : updates Summary : Go development libraries URL : http://gcc.gnu.org License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and : LGPLv2+ and BSD Description : This package includes libraries and support files for : compiling Go programs.
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2
-
- Have you noticed that "human readable" configuration file - - directives are beginning to resemble COBOL code? -
That added some stuff, but the standard library still doesn't appear to be installed.
Regards, Les H
On 11/18/2016 05:37 PM, Howard Howell wrote:
On Fri, 2016-11-18 at 13:25 -0800, Rick Stevens wrote:
On 11/18/2016 12:20 PM, Howard Howell wrote:
Hi, everyone, I loaded go using dnf... sudo dnf install go
I am on an AMD64 system with F24 installed.
The issue is that the /usr/share/gocode/src/code.google.com/p was empty. I installed the golang...devel package and it added the go.tools directory with several subdirectories and other things. The issue is that the various libraries needed by the code I am working on are not loaded. I downloaded the latest archive from golang.org and it appears the various things that I need, or at least most of them are in the archive. The problem is that removing the go packages via DNF will probably decimate the system. So how do I remove the current package or update it with the required libraries? I have not been successful in searching for the required packages or libraries using dnf.
Try "dnf install libgo-devel":
Name : libgo-devel Arch : x86_64 Epoch : 0 Version : 6.2.1 Release : 2.fc24 Size : 496 k Repo : updates Summary : Go development libraries URL : http://gcc.gnu.org License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and : LGPLv2+ and BSD Description : This package includes libraries and support files for : compiling Go programs.
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2
Have you noticed that "human readable" configuration
file -
directives are beginning to resemble COBOL
code? -
That added some stuff, but the standard library still doesn't appear to be installed.
Regards, Les H
What is the name of the standard library?
On Fri, 2016-11-18 at 19:14 -0700, jd1008 wrote:
On 11/18/2016 05:37 PM, Howard Howell wrote:
On Fri, 2016-11-18 at 13:25 -0800, Rick Stevens wrote:
On 11/18/2016 12:20 PM, Howard Howell wrote:
Hi, everyone, I loaded go using dnf... sudo dnf install go
I am on an AMD64 system with F24 installed.
The issue is that the /usr/share/gocode/src/code.google.com/p was empty. I installed the golang...devel package and it added the go.tools directory with several subdirectories and other things. The issue is that the various libraries needed by the code I am working on are not loaded. I downloaded the latest archive from golang.org and it appears the various things that I need, or at least most of them are in the archive. The problem is that removing the go packages via DNF will probably decimate the system. So how do I remove the current package or update it with the required libraries? I have not been successful in searching for the required packages or libraries using dnf.
Try "dnf install libgo-devel":
Name : libgo-devel Arch : x86_64 Epoch : 0 Version : 6.2.1 Release : 2.fc24 Size : 496 k Repo : updates Summary : Go development libraries URL : http://gcc.gnu.org License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and : LGPLv2+ and BSD Description : This package includes libraries and support files for : compiling Go programs.
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.
com
- AIM/Skype: therps2 ICQ: 226437340 Yahoo:
origrps2
- Have you noticed that "human readable" configuration file - - directives are beginning to resemble COBOL code? -
That added some stuff, but the standard library still doesn't appear to be installed.
Regards, Les H
What is the name of the standard library?
I looked at the golang.org website, and it doesn't give a name for it. To continue with the debug, I downloaded the package from golang.org, and installed it in a local directory and then set the path variables to it. Now I am only getting one error message about not having the code.google.com packages. I cannot find those anywhere.
Based on the fact that I do now have the standard library in the golang.org version, it appears that the packager for fedora may not have included the standard library in the build by mistake.
I have googled code.google.com, looked at the google website and google code website, and cannot find that package path and associated packages anywhere. Nor does it appear on the golang.org website. Nor does any historical website seem to even mention it.
The go package I am attempting to work on is called SLAM, Simultaneous Location and Mapping for robotics application. It takes basically point cloud type information and creates a map. In the version I am working on, the point cloud comes from a LIDAR, and the SLAM robot package captures that data and creates a 2D map from it.
Then entire package is several tens of megabytes, but appears to be all there, except for these generic libraries that should be in the GOROOT path.
It appears that the gentleman and team who wrote the original code have moved on to other projects, and attempts by the other party involved with the current effort to contact them have not been successful. I haven't attempted that because these libraries are not something they developed, but appear to be google libraries, and generic libraries of the go language.
I have looked at the go forum but found no help there on this issue. This started out as a "I'll take a look for you" and has turned into a quest!
So the current issue is where can I find the code.google.com go packages? Any idea?
Thanks, Les H
On Sat, 19 Nov 2016 09:09:14 -0800 Howard Howell hlhowell@pacbell.net wrote:
I don't use go, but thought I'd look at this.
So the current issue is where can I find the code.google.com go packages? Any idea?
From this page, https://golang.org/doc/articles/go_command.html, the following excerpt seems to suggest that you use go itself to install those commands and libraries. Just a thought.
""" Here’s an example. Let’s say we decide to keep our Go code in the directory $HOME/mygo. We need to create that directory and set $GOPATH accordingly.
$ mkdir $HOME/mygo $ export GOPATH=$HOME/mygo $
Into this directory, we now add some source code. Suppose we want to use the indexing library from the codesearch project along with a left-leaning red-black tree. We can install both with the "go get" subcommand:
$ go get code.google.com/p/codesearch/index $ go get github.com/petar/GoLLRB/llrb $
Both of these projects are now downloaded and installed into our $GOPATH directory. The one tree now contains the two directories src/code.google.com/p/codesearch/index/ and src/github.com/petar/GoLLRB/llrb/, along with the compiled packages (in pkg/) for those libraries and their dependencies.
Because we used version control systems (Mercurial and Git) to check out the sources, the source tree also contains the other files in the corresponding repositories, such as related packages. The "go list" subcommand lists the import paths corresponding to its arguments, and the pattern "./..." means start in the current directory ("./") and find all packages below that directory ("..."):
$ go list ./... code.google.com/p/codesearch/cmd/cgrep code.google.com/p/codesearch/cmd/cindex code.google.com/p/codesearch/cmd/csearch code.google.com/p/codesearch/index code.google.com/p/codesearch/regexp code.google.com/p/codesearch/sparse github.com/petar/GoLLRB/example github.com/petar/GoLLRB/llrb $
We can also test those packages:
$ go test ./... ? code.google.com/p/codesearch/cmd/cgrep [no test files] ? code.google.com/p/codesearch/cmd/cindex [no test files] ? code.google.com/p/codesearch/cmd/csearch [no test files] ok code.google.com/p/codesearch/index 0.239s ok code.google.com/p/codesearch/regexp 0.021s ? code.google.com/p/codesearch/sparse [no test files] ? github.com/petar/GoLLRB/example [no test files] ok github.com/petar/GoLLRB/llrb 0.231s $
If a go subcommand is invoked with no paths listed, it operates on the current directory:
$ cd $GOPATH/src/code.google.com/p/codesearch/regexp $ go list code.google.com/p/codesearch/regexp $ go test -v === RUN TestNstateEnc --- PASS: TestNstateEnc (0.00 seconds) === RUN TestMatch --- PASS: TestMatch (0.01 seconds) === RUN TestGrep --- PASS: TestGrep (0.00 seconds) PASS ok code.google.com/p/codesearch/regexp 0.021s $ go install $ """
Thank you so much Stan, I am sure this is what I was missing. Where did you find this information?
Regards, Les H
Never mind, found the link you posted. Read so fast I skipped it.
Thanks again... Les H
On Sat, 2016-11-19 at 09:09 -0800, Howard Howell wrote:
On Fri, 2016-11-18 at 19:14 -0700, jd1008 wrote:
On 11/18/2016 05:37 PM, Howard Howell wrote:
On Fri, 2016-11-18 at 13:25 -0800, Rick Stevens wrote:
On 11/18/2016 12:20 PM, Howard Howell wrote:
Hi, everyone, I loaded go using dnf... sudo dnf install go
I am on an AMD64 system with F24 installed.
The issue is that the /usr/share/gocode/src/code.google.com/p was empty. I installed the golang...devel package and it added the go.tools directory with several subdirectories and other things. The issue is that the various libraries needed by the code I am working on are not loaded. I downloaded the latest archive from golang.org and it appears the various things that I need, or at least most of them are in the archive. The problem is that removing the go packages via DNF will probably decimate the system. So how do I remove the current package or update it with the required libraries? I have not been successful in searching for the required packages or libraries using dnf.
Try "dnf install libgo-devel":
Name : libgo-devel Arch : x86_64 Epoch : 0 Version : 6.2.1 Release : 2.fc24 Size : 496 k Repo : updates Summary : Go development libraries URL : http://gcc.gnu.org License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and : LGPLv2+ and BSD Description : This package includes libraries and support files for : compiling Go programs.
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigita
l. com
- AIM/Skype: therps2 ICQ: 226437340 Yahoo:
origrps2
- Have you noticed that "human readable" configuration file - - directives are beginning to resemble COBOL code? -
That added some stuff, but the standard library still doesn't appear to be installed.
Regards, Les H
What is the name of the standard library?
I looked at the golang.org website, and it doesn't give a name for it. To continue with the debug, I downloaded the package from golang.org, and installed it in a local directory and then set the path variables to it. Now I am only getting one error message about not having the code.google.com packages. I cannot find those anywhere.
Based on the fact that I do now have the standard library in the golang.org version, it appears that the packager for fedora may not have included the standard library in the build by mistake.
I have googled code.google.com, looked at the google website and google code website, and cannot find that package path and associated packages anywhere. Nor does it appear on the golang.org website. Nor does any historical website seem to even mention it.
The go package I am attempting to work on is called SLAM, Simultaneous Location and Mapping for robotics application. It takes basically point cloud type information and creates a map. In the version I am working on, the point cloud comes from a LIDAR, and the SLAM robot package captures that data and creates a 2D map from it.
Then entire package is several tens of megabytes, but appears to be all there, except for these generic libraries that should be in the GOROOT path.
It appears that the gentleman and team who wrote the original code have moved on to other projects, and attempts by the other party involved with the current effort to contact them have not been successful. I haven't attempted that because these libraries are not something they developed, but appear to be google libraries, and generic libraries of the go language.
I have looked at the go forum but found no help there on this issue. This started out as a "I'll take a look for you" and has turned into a quest!
So the current issue is where can I find the code.google.com go packages? Any idea?
Thanks, Les H _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
The code I have been working with was created by a university group. It appears that they got the requisite library from Google before their recent changes. The person I am working with found a reference to the library and both of us retrieved it from the new location.
Thanks everyone for your suggestions and support.
Regards, Les H