Skip to content

Commit 02b10a0

Browse files
committed
Update README
1 parent 0d58d13 commit 02b10a0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,14 @@ For example,
134134
At this point, you should have a compiled copy of the program in `$GOPATH/bin`. See the
135135
`samples` directory for more sample programs.
136136

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+
137145
## Building in a container
138146
The `buildSamples.sh` script in this directory can also be used to create a container which will
139147
compile the samples and copy them to a local directory. If you use this approach, you do not need

0 commit comments

Comments
 (0)