File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,14 @@ For example,
134
134
At this point, you should have a compiled copy of the program in ` $GOPATH/bin ` . See the
135
135
` samples ` directory for more sample programs.
136
136
137
+ ### Build errors
138
+ If you get errors such as ` cannot find package v5/ibmmq ` then one solution is to go to
139
+ the repository directory itself: ` cd ./src/github.com/ibm-messaging/mq-golang ` . And
140
+ then compile directly from that directory: ` go install ./ibmmq ` , ` go install ./samples/amqsput.go ` .
141
+
142
+ An alternative is to set GOPATH to the directory you have tried to compile
143
+ from: ` export GOPATH=$HOME/gowork ` .
144
+
137
145
## Building in a container
138
146
The ` buildSamples.sh ` script in this directory can also be used to create a container which will
139
147
compile the samples and copy them to a local directory. If you use this approach, you do not need
You can’t perform that action at this time.
0 commit comments