mq-container icon indicating copy to clipboard operation
mq-container copied to clipboard

Unable to build off 9.2.5 branch

Open chughts opened this issue 3 years ago • 1 comments

I have tried to build a developer container off the 9.2.5 branch, but the build fails with

Step 24/122 : RUN go build -ldflags "-X \"main.ImageCreated=$(date --iso-8601=seconds)\" -X \"main.ImageRevision=$IMAGE_REVISION\" -X \"main.ImageSource=$IMAGE_SOURCE\" -X \"main.ImageTag=$IMAGE_TAG\"" ./cmd/runmqserver/
 ---> Running in d3c42a57fd5e
# github.com/ibm-messaging/mq-golang/ibmmq
vendor/github.com/ibm-messaging/mq-golang/ibmmq/mqi.go:57:10: fatal error: cmqc.h: No such file or directory
 #include <cmqc.h>
          ^~~~~~~~
compilation terminated.

chughts avatar Nov 08 '22 14:11 chughts

Looks like you're missing some env variables from https://github.com/ibm-messaging/mq-golang#common

adamdecaf avatar May 04 '23 20:05 adamdecaf