Re: rpmbuilding golang applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 30, 2015 at 6:46 AM, Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
> On Wed, Oct 28, 2015 at 01:26:03AM +0100, Dennis Jacobfeuerborn wrote:

>> I created RPMs for all dependencies which are installed at
>> /usr/share/gocode/src and these are found and influxdb builds fine
>> however once the "go install ./..." line is reached in the spec file I
>> get permission denied errors.
>>

I usually run "go build" and copy the compiled binaries into the
desired install directory to avoid any "helpful" installs the go
install tooling tries to provide.

Go docs for install:
"Usage:

go install [build flags] [packages]
Install compiles and installs the packages named by the import paths,
along with their dependencies."

Probably not the 100% correct way, but at least if the deps are
properly packaged you can run the build and then copy (just as you
would for a project with no make install).
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux