Opened 23 months ago

Last modified 22 months ago

#131 accepted defect

problem with compiling

Reported by: oatiz@… Owned by: wiese
Priority: normal Component: BNC
Version: Keywords:

Description (last modified by anonymous)

When we tried to compile by running "sudo docker build -t bnc:2.13 ." command the process ends with success. But we cant see the bnc executable in /tmp/BNC/ folder.

Attachments (0)

Change History (6)

comment:1 by anonymous, 23 months ago

Description: modified (diff)

comment:2 by wiese, 22 months ago

At the end of the build, you should see the following lines:
STEP 15/15: RUN ./bnc --version
BNC 2.13.0

If not, the build was not successfully and you should see errors in the log.

comment:3 by anonymous, 22 months ago

Yes I see the same output but could not find the ./bnc executable.

comment:4 by wiese, 22 months ago

When the version is printed, the bnc binary must exist.
To see it you have to run the image: docker run -it <imageID>.

You can copy it from the container to your host with docker cp <containerID>:/tmp/BNC/bnc .

comment:5 by wiese, 22 months ago

Owner: changed from stuerze to wiese
Status: newaccepted

comment:6 by anonymous, 22 months ago

Thank you for your answer. I tried to start ./bnc but see the output below. I am running "docker run -it bnc:2.13" command at first. How can I start the software?

atak@atak-pc:~$ sudo docker run -it bnc:2.13
root@39690c7b5584:/tmp/BNC# ./bnc
qt.qpa.screen: QXcbConnection: Could not connect to display 
Could not connect to any X display.

I also copied the bnc to my home directory. But when I try the "./bnc --version" command, I see the output below.

atak@atak-pc:~$ ./bnc --version
./bnc: /usr/lib/x86_64-linux-gnu/ version `Qt_5.11' not found (required by ./bnc)

Modify Ticket

Change Properties
as accepted The owner will remain wiese.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from wiese to the selected user. Next status will be 'assigned'.
The owner will be changed from wiese to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.