how to start qp binary (part of http://www.eecs.umich.edu/~hjgarcia/qp-3.8-i386.tar.gz) in interactive mode in Ubuntu 14.04 LTS 64-bit edition?

Asked by ken black

A. opened downloaded tar.gz file from a university in home directory
B. contents of qp-386-i386 are 1. binary executable "qp" 2. read me files that do not help with installation 3. example scripts to run with program when operational 4. Expected to run program with ./qp entered on terminal
C. tried to install program with sudo apt-get qp :i386 and also sudo apt-get qp-386-i386
d. In both cases terminal returned --file could not be found bu regex

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
ken black
Solved:
Last query:
Last reply:
Revision history for this message
ken black (kenblack123) said :
#1

I forgot to add that I am on unbuntu 14.4

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Its 14.04 not 14.4

If you have deb files to install from the local system you use the dpkg command and then point to the deb file to install. Apt-get will only install from the Ubuntu repositories.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

I have a few questions so that we can give better support:

1) What is the purpose of this qp program? What does it do?
2) What is the exact URL / location where you downloaded the code?
3) Does the university allow you to use an alternative application that could also get the job done?
4) What types of files does qp open or interact with?

Based on your feedback we may be able to find a better alternative....

Revision history for this message
ken black (kenblack123) said :
#4

1.The program is unique. There is no alternative
2.The url is no longer active

I will hang it up with the forum and try to get answers from the university.. I am new to unbuntu and thought the problem was a simple cockpit error. Apparently not

Revision history for this message
ken black (kenblack123) said :
#5

How do you go about installing a binary from a third pary?
What if I deinstall amd64 O/S and reinstall Ubuntu as a i386 O/S --is it a possabity that would help

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

Read this for instructions on compiling .tar.gz files:

https://help.ubuntu.com/community/CompilingEasyHowTo

After unpacking the .tar.gz file, it normally includes a README or INSTALL text file that explains how to compile that specific software.

It is very strange that the URL is no longer active.... To me, this gives the impression that the software you are trying to install, is not even supported anymore by the person who created it.....

Installing binaries from a third party can be done in various ways (.deb file, package from PPA repository) and depends on exactly WHICH software package and WHICH URL or WHICH Ubuntu repository you are referring to....

Revision history for this message
ken black (kenblack123) said :
#7

Thanks Mark for your time in responding to my question. I am a newbie
and do not know what I do not know
I have some more info for you
1. Here is the website with info about the
program---Quiddpro---http://vlsicad.eecs.umich.edu/Quantum/qp/ -----The
users guide pdf that can be downloaded from the site is the same that
is extracted from the tar.gz file. The user guide tells how to run the
simulator.
------./qp----no instructions about installation--see for yourself. "qp"
is the name of the binary program included in the extracted file.

2.The read me file in the extracted file is as follows:
"QuIDDPro 3.8
RELEASE_NOTES - Important notes for the current version of QuIDDPro
LICENSE - The license file
doc - Contains the QuIDDPro User's Guide
qp - The QuIDDPro simulator binary
examples - Contains QuIDDPro script examples
Send comments/suggestions/bug reports to <email address hidden> and
<email address hidden>"

3. As indicated on the website you can ask for a download of
Quiddpro--which I did
   An URL was returned in an e-mail and I used it to download the
program. The
URL is:
http://www.eecs.umich.edu/~hjgarcia/qp-3.8-i386.tar.gz
<http://www.eecs.umich.edu/%7Ehjgarcia/qp-3.8-i386.tar.gz>

I do not know if this URL still works--other day I could not get it to
work. Using the URL in a browser does not. IF I could click on the
e-mail URL it works.

4. There is a book that is sold on amazon about Quiddpro---same
instructions---./qp

5. I am beginning to think that if you are setting a terminal at the
university of Michigan and on their system every thing is fine.However
to run downloaded they provide you=things do not work----AS I SAID
BEFORE I DO NOT KNOW WHAT I DO NOT KNOW AND THIS IS JUST IGNORANCE AND
COCKPIT ERROR

Thanks for your help if you still decide to look into this for me

Regards
Ken Black

On 08/30/2014 04:33 AM, Mark Rijckenberg wrote:
> Your question #253757 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253757
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> Read this for instructions on compiling .tar.gz files:
>
> https://help.ubuntu.com/community/CompilingEasyHowTo
>
> After unpacking the .tar.gz file, it normally includes a README or
> INSTALL text file that explains how to compile that specific software.
>
> It is very strange that the URL is no longer active.... To me, this
> gives the impression that the software you are trying to install, is not
> even supported anymore by the person who created it.....
>
> Installing binaries from a third party can be done in various ways (.deb
> file, package from PPA repository) and depends on exactly WHICH
> software package and WHICH URL or WHICH Ubuntu repository you are
> referring to....
>

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#8

The actual question in this thread should be: "how do I run the binary executable qp ? "

I have finally been able to download the file

http://www.eecs.umich.edu/~hjgarcia/qp-3.8-i386.tar.gz

today. It did not work the previous days.

This download URL should have been provided in the original description in order to avoid wasting precious time.

Also stop using caps, as it is impolite and giving the impression that you are shouting.

Anyway, looking at the contents, there is a binary called qp in the qp-3.8-i386 folder. Because it is a binary, the qp program is installed once you have decompressed the .tar.gz file. The binary can be executed directly, so no need to install using make or apt-get. That is why no installation instructions were included.

Assuming you downloaded the file http://www.eecs.umich.edu/~hjgarcia/qp-3.8-i386.tar.gz into your home directory (/home/<your username>), you need to run the following commands in a Terminal to run the qp program:

cd

tar -zxvf qp-3.8-i386.tar.gz

cd qp-3.8-i386

chmod +x qp

./qp

Instructions for opening a Terminal in Ubuntu:

If you are using the Gnome interface, open the Terminal console via "Applications->Accessories->Terminal"

If you are using the Unity interface (default graphical user interface in Ubuntu), use the 'search' function on the dash. Or you can click on the 'More Apps' button, click on the 'See more results' by the installed section, and find it in that list of applications. A third way, available after you click on the 'More Apps' button, is to go to the search bar, and see that the far right end of it says 'All Applications'. You then click on that, and you'll see the full list. Then you can go to Accessories > Terminal after that.

So the methods in Unity are:

Press CTRL-ALT-T key combination.

Dash > Search for Terminal

Dash > More Apps > 'See More Results' > Terminal

Dash > More Apps > Accessories > Terminal

Revision history for this message
ken black (kenblack123) said :
#9

Sorry about the caps--did not mean to be impolite

I followed the instructions
after I typed cd-qp-3.8-i386 and hit enter
the following occured
  /qp-3.8-i386$ "flashing cursor"
it seemed like it was looking for another input---if i just hit enter again it returned the sme thing

because this is a 64 bit ubuntu--i tried i386 at the flashing cursor
the following occured
$ "flashing cursor"
so I typed ./qp hoping for the best
it returned-------- error opening :xterm

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#10

OK, now we are finally getting to the root of the problem....

Open a Terminal and execute these 3 Terminal commands to try to solve the issue:

cd /usr/share/terminfo/x

sudo rm xterm

# ignore the error if it cannot remove xterm (means it cannot find it)

sudo ln -s /lib/terminfo/x/xterm xterm

Source where solution is described: http://ubuntuforums.org/showthread.php?t=1769473

Revision history for this message
ken black (kenblack123) said :
#11

I executed the the three terminal commands as suggested and then

executed the command
cd qp-3.8-i386
I get flashing cursor as before
I then enter i386 in place of cursor
I then execute command ./qp
  I then get the message "error opening terminal:xterm"

On 09/01/2014 01:02 PM, Mark Rijckenberg wrote:
> Your question #253757 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253757
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> OK, now we are finally getting to the root of the problem....
>
> Open a Terminal and execute these 3 Terminal commands to try to solve
> the issue:
>
> cd /usr/share/terminfo/x
>
> sudo rm xterm
>
> # ignore the error if it cannot remove xterm (means it cannot find it)
>
> sudo ln -s /lib/terminfo/x/xterm xterm
>
> Source where solution is described:
> http://ubuntuforums.org/showthread.php?t=1769473
>

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#12

I initially got the same error as you did on both my desktop PC and my laptop. (error opening :xterm)

Then I tested this solution (post #10) on my desktop pc and my laptop which both run Xubuntu 14.04 LTS.

The solution in post #10 works on both PC's.

Did you try to manually type in the commands in post #10 or did you copy-paste the commands into the Terminal?

If you copy-paste the commands, there is less chance of making errors that would prevent the solution from working.

Sorry, but I cannot give more advice than this. Post #10 works for me.....

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#13

Here is the output on my desktop PC.

Notice that at first I get the same error message "Error opening terminal: xterm."

After implementing the solution procedure, I do not get the error and the qp program starts in interactive mode:

ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ cd
ulysses@ulysses-P35-DS3R:~$ tar -zxvf qp-3.8-i386.tar.gz
qp-3.8-i386/
qp-3.8-i386/examples/
qp-3.8-i386/doc/
qp-3.8-i386/examples/stabilizer_circuits/
qp-3.8-i386/examples/nist/
qp-3.8-i386/examples/states/
qp-3.8-i386/examples/run/
qp-3.8-i386/examples/misc/
qp-3.8-i386/examples/qft/
qp-3.8-i386/examples/rev/
qp-3.8-i386/examples/toff_stabilizer_circuits/
qp-3.8-i386/examples/errs/
qp-3.8-i386/examples/rand_toff/
qp-3.8-i386/examples/functions/
qp-3.8-i386/examples/phase_checks/
qp-3.8-i386/examples/rand_cnot/
qp-3.8-i386/qp
qp-3.8-i386/RELEASE_NOTES
qp-3.8-i386/README
qp-3.8-i386/LICENSE
qp-3.8-i386/examples/README
qp-3.8-i386/doc/qp_manual_3.8.pdf
qp-3.8-i386/examples/stabilizer_circuits/chp100.qpro
qp-3.8-i386/examples/stabilizer_circuits/epr.qpro
qp-3.8-i386/examples/stabilizer_circuits/quidd_convert
qp-3.8-i386/examples/stabilizer_circuits/README
qp-3.8-i386/examples/stabilizer_circuits/qecc9.qpro
qp-3.8-i386/examples/nist/steaneZ.qpro
qp-3.8-i386/examples/nist/steaneX.qpro
qp-3.8-i386/examples/nist/README
qp-3.8-i386/examples/states/create_w_state.qpro
qp-3.8-i386/examples/states/projector.qpro
qp-3.8-i386/examples/states/README
qp-3.8-i386/examples/states/create_equal_even_odd.qpro
qp-3.8-i386/examples/states/gen_states.qpro
qp-3.8-i386/examples/states/create_cat_state.qpro
qp-3.8-i386/examples/run/simple_grover.qpro
qp-3.8-i386/examples/run/README
qp-3.8-i386/examples/run/oracle_def.qpro
qp-3.8-i386/examples/misc/grover_density.qpro
qp-3.8-i386/examples/misc/README
qp-3.8-i386/examples/misc/large_h.qpro
qp-3.8-i386/examples/misc/and20.qpro
qp-3.8-i386/examples/misc/two_q_canonical.qpro
qp-3.8-i386/examples/qft/qft_test.qpro
qp-3.8-i386/examples/qft/apply_qft.qpro
qp-3.8-i386/examples/qft/create_bit_state.qpro
qp-3.8-i386/examples/qft/apply_inv_qft.qpro
qp-3.8-i386/examples/rev/9sym1.qpro
qp-3.8-i386/examples/rev/9sym3.qpro
qp-3.8-i386/examples/rev/9sym5.qpro
qp-3.8-i386/examples/rev/README
qp-3.8-i386/examples/rev/rc_adder4.qpro
qp-3.8-i386/examples/rev/hadder_bf1.qpro
qp-3.8-i386/examples/rev/9sym4.qpro
qp-3.8-i386/examples/rev/ham15_2.qpro
qp-3.8-i386/examples/rev/hadder_pf1.qpro
qp-3.8-i386/examples/rev/ham15_3.qpro
qp-3.8-i386/examples/rev/hadder_bf2.qpro
qp-3.8-i386/examples/rev/hadder_bf3.qpro
qp-3.8-i386/examples/rev/9sym2.qpro
qp-3.8-i386/examples/rev/hadder_pf3.qpro
qp-3.8-i386/examples/rev/rc_adder2.qpro
qp-3.8-i386/examples/rev/rc_adder1.qpro
qp-3.8-i386/examples/rev/ham15_1.qpro
qp-3.8-i386/examples/rev/rc_adder3.qpro
qp-3.8-i386/examples/rev/hadder_pf2.qpro
qp-3.8-i386/examples/toff_stabilizer_circuits/README
qp-3.8-i386/examples/toff_stabilizer_circuits/tsc
qp-3.8-i386/examples/toff_stabilizer_circuits/tchp100.qpro
qp-3.8-i386/examples/errs/css1.qpro
qp-3.8-i386/examples/errs/grover_s_pf1.qpro
qp-3.8-i386/examples/errs/README
qp-3.8-i386/examples/errs/css3.qpro
qp-3.8-i386/examples/errs/grover_s_bf1.qpro
qp-3.8-i386/examples/errs/css2.qpro
qp-3.8-i386/examples/errs/grover_s1.qpro
qp-3.8-i386/examples/rand_toff/README
qp-3.8-i386/examples/rand_toff/toff200_3.qpro
qp-3.8-i386/examples/rand_toff/toff200_4.qpro
qp-3.8-i386/examples/rand_toff/toff200_2.qpro
qp-3.8-i386/examples/rand_toff/rand_toff
qp-3.8-i386/examples/rand_toff/toff200_1.qpro
qp-3.8-i386/examples/rand_toff/toff200_5.qpro
qp-3.8-i386/examples/functions/simple_grover.qpro
qp-3.8-i386/examples/functions/README
qp-3.8-i386/examples/functions/oracle.qpro
qp-3.8-i386/examples/phase_checks/gp_grover_state.qpro
qp-3.8-i386/examples/phase_checks/hamiltonian.qpro
qp-3.8-i386/examples/phase_checks/README
qp-3.8-i386/examples/rand_cnot/cnot200_4.qpro
qp-3.8-i386/examples/rand_cnot/README
qp-3.8-i386/examples/rand_cnot/cnot200_3.qpro
qp-3.8-i386/examples/rand_cnot/cnot200_5.qpro
qp-3.8-i386/examples/rand_cnot/cnot200_1.qpro
qp-3.8-i386/examples/rand_cnot/cnot200_2.qpro
qp-3.8-i386/examples/rand_cnot/rand_cnot
ulysses@ulysses-P35-DS3R:~$ cd qp-3.8-i386/
ulysses@ulysses-P35-DS3R:~/qp-3.8-i386$ ./qp
Error opening terminal: xterm.
ulysses@ulysses-P35-DS3R:~/qp-3.8-i386$ cd cd /usr/share/terminfo/x
bash: cd: cd: No such file or directory
ulysses@ulysses-P35-DS3R:~/qp-3.8-i386$ cd /usr/share/terminfo/x
ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ sudo rm xterm
[sudo] password for ulysses:
rm: cannot remove ‘xterm’: No such file or directory
ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ sudo ln -s /lib/terminfo/x/xterm xterm
ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ ls -lart
total 492
-rw-r--r-- 1 root root 2007 Mär 22 19:59 xterm-xi
-rw-r--r-- 1 root root 2247 Mär 22 19:59 xterm-xf86-v43
-rw-r--r-- 1 root root 2233 Mär 22 19:59 xterm-xf86-v40
-rw-r--r-- 1 root root 2027 Mär 22 19:59 xterm-xf86-v333
-rw-r--r-- 1 root root 2017 Mär 22 19:59 xterm-xf86-v33
-rw-r--r-- 1 root root 2027 Mär 22 19:59 xterm-xf86-v32
-rw-r--r-- 1 root root 3388 Mär 22 19:59 xterm-utf8
-rw-r--r-- 1 root root 2153 Mär 22 19:59 xterms-sun
-rw-r--r-- 1 root root 402 Mär 22 19:59 xterm+sl-twm
-rw-r--r-- 1 root root 432 Mär 22 19:59 xterm+sl
-rw-r--r-- 1 root root 1094 Mär 22 19:59 xterm+r6f2
-rw-r--r-- 1 root root 1742 Mär 22 19:59 xterm-pcolor
-rw-r--r-- 1 root root 1493 Mär 22 19:59 xterm-old
-rw-r--r-- 1 root root 3388 Mär 22 19:59 xterm-nic
-rw-r--r-- 1 root root 1439 Mär 22 19:59 xtermm
-rw-r--r-- 1 root root 1606 Mär 22 19:59 xtermc
-rw-r--r-- 1 root root 1051 Mär 22 19:59 xterm+88color
-rw-r--r-- 1 root root 3389 Mär 22 19:59 xterm-1003
-rw-r--r-- 1 root root 3389 Mär 22 19:59 xterm-1002
-rw-r--r-- 1 root root 3380 Mär 22 19:59 xterm1
-rw-r--r-- 1 root root 1033 Mär 22 19:59 xtalk
-rw-r--r-- 1 root root 1016 Mär 22 19:59 xnuppc-m-f2
-rw-r--r-- 1 root root 1008 Mär 22 19:59 xnuppc-m-f
-rw-r--r-- 1 root root 994 Mär 22 19:59 xnuppc-m-b
-rw-r--r-- 1 root root 948 Mär 22 19:59 xnuppc-m
-rw-r--r-- 1 root root 1002 Mär 22 19:59 xnuppc+f2
-rw-r--r-- 1 root root 1217 Mär 22 19:59 xnuppc-f2
-rw-r--r-- 1 root root 996 Mär 22 19:59 xnuppc+f
-rw-r--r-- 1 root root 1209 Mär 22 19:59 xnuppc-f
-rw-r--r-- 1 root root 847 Mär 22 19:59 xnuppc+c
-rw-r--r-- 1 root root 948 Mär 22 19:59 xnuppc+basic
-rw-r--r-- 1 root root 974 Mär 22 19:59 xnuppc+b
-rw-r--r-- 1 root root 1197 Mär 22 19:59 xnuppc-b
-rw-r--r-- 1 root root 968 Mär 22 19:59 xnuppc-90x30-m
-rw-r--r-- 1 root root 86 Mär 22 19:59 xnuppc+90x30
-rw-r--r-- 1 root root 1195 Mär 22 19:59 xnuppc-90x30
-rw-r--r-- 1 root root 968 Mär 22 19:59 xnuppc-80x30-m
-rw-r--r-- 1 root root 86 Mär 22 19:59 xnuppc+80x30
-rw-r--r-- 1 root root 1195 Mär 22 19:59 xnuppc-80x30
-rw-r--r-- 1 root root 968 Mär 22 19:59 xnuppc-80x25-m
-rw-r--r-- 1 root root 86 Mär 22 19:59 xnuppc+80x25
-rw-r--r-- 1 root root 1195 Mär 22 19:59 xnuppc-80x25
-rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-256x96-m
-rw-r--r-- 1 root root 90 Mär 22 19:59 xnuppc+256x96
-rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-256x96
-rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-200x75-m
-rw-r--r-- 1 root root 90 Mär 22 19:59 xnuppc+200x75
-rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-200x75
-rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-200x64-m
-rw-r--r-- 1 root root 90 Mär 22 19:59 xnuppc+200x64
-rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-200x64
-rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-160x64-m
-rw-r--r-- 1 root root 90 Mär 22 19:59 xnuppc+160x64
-rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-160x64
-rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-144x48-m
-rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+144x48
-rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-144x48
-rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-128x48-m
-rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+128x48
-rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-128x48
-rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-128x40-m
-rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+128x40
-rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-128x40
-rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-112x37-m
-rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+112x37
-rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-112x37
-rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-100x37-m
-rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+100x37
-rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-100x37
-rw-r--r-- 1 root root 1177 Mär 22 19:59 xnuppc
-rw-r--r-- 1 root root 1566 Mär 22 19:59 xiterm
-rw-r--r-- 1 root root 3053 Mär 22 19:59 xfce
-rw-r--r-- 1 root root 352 Mär 22 19:59 xerox820
-rw-r--r-- 1 root root 356 Mär 22 19:59 xerox1720
-rw-r--r-- 1 root root 1390 Mär 22 19:59 x68k
-rw-r--r-- 1 root root 657 Mär 22 19:59 x10term
-rw-r--r-- 1 root root 3315 Mär 22 19:59 xterm-xmc
-rw-r--r-- 1 root root 2255 Mär 22 19:59 xterm-xf86-v44
-rw-r--r-- 1 root root 464 Mär 22 19:59 xterm+vt+edit
-rw-r--r-- 1 root root 484 Mär 22 19:59 xterm-vt52
-rw-r--r-- 1 root root 197 Mär 22 19:59 xterm+tmux
-rw-r--r-- 1 root root 2071 Mär 22 19:59 xterm-sun
-rw-r--r-- 1 root root 2021 Mär 22 19:59 xterm-sco
-rw-r--r-- 1 root root 3339 Mär 22 19:59 xterm-rep
-rw-r--r-- 1 root root 864 Mär 22 19:59 xterm+pcfN
-rw-r--r-- 1 root root 864 Mär 22 19:59 xterm+pcfn
-rw-r--r-- 1 root root 2104 Mär 22 19:59 xterm+pcfkeys
-rw-r--r-- 1 root root 1100 Mär 22 19:59 xterm+pcf3
-rw-r--r-- 1 root root 1049 Mär 22 19:59 xterm+pcf2
-rw-r--r-- 1 root root 1011 Mär 22 19:59 xterm+pcf1
-rw-r--r-- 1 root root 1011 Mär 22 19:59 xterm+pcf0
-rw-r--r-- 1 root root 404 Mär 22 19:59 xterm+pc+edit
-rw-r--r-- 1 root root 1088 Mär 22 19:59 xterm+pce3
-rw-r--r-- 1 root root 1258 Mär 22 19:59 xterm+pce2
-rw-r--r-- 1 root root 1028 Mär 22 19:59 xterm+pce1
-rw-r--r-- 1 root root 1028 Mär 22 19:59 xterm+pce0
-rw-r--r-- 1 root root 902 Mär 22 19:59 xterm+pcc3
-rw-r--r-- 1 root root 876 Mär 22 19:59 xterm+pcc2
-rw-r--r-- 1 root root 824 Mär 22 19:59 xterm+pcc1
-rw-r--r-- 1 root root 824 Mär 22 19:59 xterm+pcc0
-rw-r--r-- 1 root root 3929 Mär 22 19:59 xterm-nrc
-rw-r--r-- 1 root root 402 Mär 22 19:59 xterm+noapp+pc
-rw-r--r-- 1 root root 420 Mär 22 19:59 xterm+noapp
-rw-r--r-- 1 root root 3295 Mär 22 19:59 xterm-noapp
-rw-r--r-- 1 root root 3315 Mär 22 19:59 xterm-new
-rw-r--r-- 1 root root 164 Mär 22 19:59 xterm+kbs
-rw-r--r-- 1 root root 3337 Mär 22 19:59 xterm-ic
-rw-r--r-- 1 root root 1813 Mär 22 19:59 xterm-hp
-rw-r--r-- 1 root root 418 Mär 22 19:59 xterm+edit
-rw-r--r-- 1 root root 484 Mär 22 19:59 xterm+decedit
-rw-r--r-- 1 root root 1521 Mär 22 19:59 xterm-boldso
-rw-r--r-- 1 root root 1527 Mär 22 19:59 xterm-bold
-rw-r--r-- 1 root root 1799 Mär 22 19:59 xterm-basic
-rw-r--r-- 1 root root 398 Mär 22 19:59 xterm+app+pc
-rw-r--r-- 1 root root 422 Mär 22 19:59 xterm+app
-rw-r--r-- 1 root root 1909 Mär 22 19:59 xterm-8bit
-rw-r--r-- 1 root root 3371 Mär 22 19:59 xterm-88color
-rw-r--r-- 1 root root 1517 Mär 22 19:59 xterm-65
-rw-r--r-- 1 root root 1053 Mär 22 19:59 xterm+256color
-rw-r--r-- 1 root root 1525 Mär 22 19:59 xterm-24
-rw-r--r-- 1 root root 3535 Mär 22 19:59 xterm-16color
lrwxrwxrwx 1 root root 15 Mär 22 20:00 xwsh -> ../i/iris-color
lrwxrwxrwx 1 root root 8 Mär 22 20:00 xterm-vi -> xterm-ic
lrwxrwxrwx 1 root root 8 Mär 22 20:00 xterms -> xterm-24
lrwxrwxrwx 1 root root 10 Mär 22 20:00 xl83 -> ../c/cyb83
lrwxrwxrwx 1 root root 18 Mär 22 20:00 xerox-lm -> ../d/diablo1640-lm
lrwxrwxrwx 1 root root 15 Mär 22 20:00 xerox -> ../d/diablo1640
lrwxrwxrwx 1 root root 11 Mär 22 20:00 xenix -> ../i/ibmpcx
lrwxrwxrwx 1 root root 12 Mär 22 20:00 xdku -> ../t/tws2103
lrwxrwxrwx 1 root root 8 Mär 22 20:00 x820 -> xerox820
lrwxrwxrwx 1 root root 4 Mär 22 20:00 x68k-ite -> x68k
lrwxrwxrwx 1 root root 9 Mär 22 20:00 x1750 -> xerox1720
lrwxrwxrwx 1 root root 9 Mär 22 20:00 x1720 -> xerox1720
lrwxrwxrwx 1 root root 18 Mär 22 20:00 x1700-lm -> ../d/diablo1740-lm
lrwxrwxrwx 1 root root 15 Mär 22 20:00 x1700 -> ../d/diablo1640
lrwxrwxrwx 1 root root 24 Mär 22 20:00 xterm-r6 -> /lib/terminfo/x/xterm-r6
lrwxrwxrwx 1 root root 27 Mär 22 20:00 xterm-color -> /lib/terminfo/x/xterm-color
drwxr-xr-x 44 root root 4096 Apr 27 22:15 ..
lrwxrwxrwx 1 root root 21 Sep 1 22:42 xterm -> /lib/terminfo/x/xterm
drwxr-xr-x 2 root root 4096 Sep 1 22:42 .
ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ ls -lart /lib/terminfo/x/xterm
-rw-r--r-- 1 root root 3315 Mär 22 19:59 /lib/terminfo/x/xterm
ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ cd
ulysses@ulysses-P35-DS3R:~$ cd qp-3.8-i386/
ulysses@ulysses-P35-DS3R:~/qp-3.8-i386$ ls
doc examples LICENSE qp README RELEASE_NOTES

Revision history for this message
ken black (kenblack123) said :
#14

Mark --At least I know it can work--thanks for your effort on my behalf
I started executing the command in the sequence shown in this e-mail. I
got to the point where there was a terminal error----- and then copied
and pasted

cd /usr/share/terminfo/x-----The terminal returned the message there is no such file or directory

This is different behavior than earlier
I quess I can just give up

On 09/01/2014 04:51 PM, Mark Rijckenberg wrote:
> Your question #253757 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253757
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> Here is the output on my desktop PC.
>
> Notice that at first I get the same error message "Error opening
> terminal: xterm."
>
> After implementing the solution procedure, I do not get the error and
> the qp program starts in interactive mode:
>
>
> ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ cd
> ulysses@ulysses-P35-DS3R:~$ tar -zxvf qp-3.8-i386.tar.gz
> qp-3.8-i386/
> qp-3.8-i386/examples/
> qp-3.8-i386/doc/
> qp-3.8-i386/examples/stabilizer_circuits/
> qp-3.8-i386/examples/nist/
> qp-3.8-i386/examples/states/
> qp-3.8-i386/examples/run/
> qp-3.8-i386/examples/misc/
> qp-3.8-i386/examples/qft/
> qp-3.8-i386/examples/rev/
> qp-3.8-i386/examples/toff_stabilizer_circuits/
> qp-3.8-i386/examples/errs/
> qp-3.8-i386/examples/rand_toff/
> qp-3.8-i386/examples/functions/
> qp-3.8-i386/examples/phase_checks/
> qp-3.8-i386/examples/rand_cnot/
> qp-3.8-i386/qp
> qp-3.8-i386/RELEASE_NOTES
> qp-3.8-i386/README
> qp-3.8-i386/LICENSE
> qp-3.8-i386/examples/README
> qp-3.8-i386/doc/qp_manual_3.8.pdf
> qp-3.8-i386/examples/stabilizer_circuits/chp100.qpro
> qp-3.8-i386/examples/stabilizer_circuits/epr.qpro
> qp-3.8-i386/examples/stabilizer_circuits/quidd_convert
> qp-3.8-i386/examples/stabilizer_circuits/README
> qp-3.8-i386/examples/stabilizer_circuits/qecc9.qpro
> qp-3.8-i386/examples/nist/steaneZ.qpro
> qp-3.8-i386/examples/nist/steaneX.qpro
> qp-3.8-i386/examples/nist/README
> qp-3.8-i386/examples/states/create_w_state.qpro
> qp-3.8-i386/examples/states/projector.qpro
> qp-3.8-i386/examples/states/README
> qp-3.8-i386/examples/states/create_equal_even_odd.qpro
> qp-3.8-i386/examples/states/gen_states.qpro
> qp-3.8-i386/examples/states/create_cat_state.qpro
> qp-3.8-i386/examples/run/simple_grover.qpro
> qp-3.8-i386/examples/run/README
> qp-3.8-i386/examples/run/oracle_def.qpro
> qp-3.8-i386/examples/misc/grover_density.qpro
> qp-3.8-i386/examples/misc/README
> qp-3.8-i386/examples/misc/large_h.qpro
> qp-3.8-i386/examples/misc/and20.qpro
> qp-3.8-i386/examples/misc/two_q_canonical.qpro
> qp-3.8-i386/examples/qft/qft_test.qpro
> qp-3.8-i386/examples/qft/apply_qft.qpro
> qp-3.8-i386/examples/qft/create_bit_state.qpro
> qp-3.8-i386/examples/qft/apply_inv_qft.qpro
> qp-3.8-i386/examples/rev/9sym1.qpro
> qp-3.8-i386/examples/rev/9sym3.qpro
> qp-3.8-i386/examples/rev/9sym5.qpro
> qp-3.8-i386/examples/rev/README
> qp-3.8-i386/examples/rev/rc_adder4.qpro
> qp-3.8-i386/examples/rev/hadder_bf1.qpro
> qp-3.8-i386/examples/rev/9sym4.qpro
> qp-3.8-i386/examples/rev/ham15_2.qpro
> qp-3.8-i386/examples/rev/hadder_pf1.qpro
> qp-3.8-i386/examples/rev/ham15_3.qpro
> qp-3.8-i386/examples/rev/hadder_bf2.qpro
> qp-3.8-i386/examples/rev/hadder_bf3.qpro
> qp-3.8-i386/examples/rev/9sym2.qpro
> qp-3.8-i386/examples/rev/hadder_pf3.qpro
> qp-3.8-i386/examples/rev/rc_adder2.qpro
> qp-3.8-i386/examples/rev/rc_adder1.qpro
> qp-3.8-i386/examples/rev/ham15_1.qpro
> qp-3.8-i386/examples/rev/rc_adder3.qpro
> qp-3.8-i386/examples/rev/hadder_pf2.qpro
> qp-3.8-i386/examples/toff_stabilizer_circuits/README
> qp-3.8-i386/examples/toff_stabilizer_circuits/tsc
> qp-3.8-i386/examples/toff_stabilizer_circuits/tchp100.qpro
> qp-3.8-i386/examples/errs/css1.qpro
> qp-3.8-i386/examples/errs/grover_s_pf1.qpro
> qp-3.8-i386/examples/errs/README
> qp-3.8-i386/examples/errs/css3.qpro
> qp-3.8-i386/examples/errs/grover_s_bf1.qpro
> qp-3.8-i386/examples/errs/css2.qpro
> qp-3.8-i386/examples/errs/grover_s1.qpro
> qp-3.8-i386/examples/rand_toff/README
> qp-3.8-i386/examples/rand_toff/toff200_3.qpro
> qp-3.8-i386/examples/rand_toff/toff200_4.qpro
> qp-3.8-i386/examples/rand_toff/toff200_2.qpro
> qp-3.8-i386/examples/rand_toff/rand_toff
> qp-3.8-i386/examples/rand_toff/toff200_1.qpro
> qp-3.8-i386/examples/rand_toff/toff200_5.qpro
> qp-3.8-i386/examples/functions/simple_grover.qpro
> qp-3.8-i386/examples/functions/README
> qp-3.8-i386/examples/functions/oracle.qpro
> qp-3.8-i386/examples/phase_checks/gp_grover_state.qpro
> qp-3.8-i386/examples/phase_checks/hamiltonian.qpro
> qp-3.8-i386/examples/phase_checks/README
> qp-3.8-i386/examples/rand_cnot/cnot200_4.qpro
> qp-3.8-i386/examples/rand_cnot/README
> qp-3.8-i386/examples/rand_cnot/cnot200_3.qpro
> qp-3.8-i386/examples/rand_cnot/cnot200_5.qpro
> qp-3.8-i386/examples/rand_cnot/cnot200_1.qpro
> qp-3.8-i386/examples/rand_cnot/cnot200_2.qpro
> qp-3.8-i386/examples/rand_cnot/rand_cnot
> ulysses@ulysses-P35-DS3R:~$ cd qp-3.8-i386/
> ulysses@ulysses-P35-DS3R:~/qp-3.8-i386$ ./qp
> Error opening terminal: xterm.
> ulysses@ulysses-P35-DS3R:~/qp-3.8-i386$ cd cd /usr/share/terminfo/x
> bash: cd: cd: No such file or directory
> ulysses@ulysses-P35-DS3R:~/qp-3.8-i386$ cd /usr/share/terminfo/x
> ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ sudo rm xterm
> [sudo] password for ulysses:
> rm: cannot remove ‘xterm’: No such file or directory
> ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ sudo ln -s /lib/terminfo/x/xterm xterm
> ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ ls -lart
> total 492
> -rw-r--r-- 1 root root 2007 Mär 22 19:59 xterm-xi
> -rw-r--r-- 1 root root 2247 Mär 22 19:59 xterm-xf86-v43
> -rw-r--r-- 1 root root 2233 Mär 22 19:59 xterm-xf86-v40
> -rw-r--r-- 1 root root 2027 Mär 22 19:59 xterm-xf86-v333
> -rw-r--r-- 1 root root 2017 Mär 22 19:59 xterm-xf86-v33
> -rw-r--r-- 1 root root 2027 Mär 22 19:59 xterm-xf86-v32
> -rw-r--r-- 1 root root 3388 Mär 22 19:59 xterm-utf8
> -rw-r--r-- 1 root root 2153 Mär 22 19:59 xterms-sun
> -rw-r--r-- 1 root root 402 Mär 22 19:59 xterm+sl-twm
> -rw-r--r-- 1 root root 432 Mär 22 19:59 xterm+sl
> -rw-r--r-- 1 root root 1094 Mär 22 19:59 xterm+r6f2
> -rw-r--r-- 1 root root 1742 Mär 22 19:59 xterm-pcolor
> -rw-r--r-- 1 root root 1493 Mär 22 19:59 xterm-old
> -rw-r--r-- 1 root root 3388 Mär 22 19:59 xterm-nic
> -rw-r--r-- 1 root root 1439 Mär 22 19:59 xtermm
> -rw-r--r-- 1 root root 1606 Mär 22 19:59 xtermc
> -rw-r--r-- 1 root root 1051 Mär 22 19:59 xterm+88color
> -rw-r--r-- 1 root root 3389 Mär 22 19:59 xterm-1003
> -rw-r--r-- 1 root root 3389 Mär 22 19:59 xterm-1002
> -rw-r--r-- 1 root root 3380 Mär 22 19:59 xterm1
> -rw-r--r-- 1 root root 1033 Mär 22 19:59 xtalk
> -rw-r--r-- 1 root root 1016 Mär 22 19:59 xnuppc-m-f2
> -rw-r--r-- 1 root root 1008 Mär 22 19:59 xnuppc-m-f
> -rw-r--r-- 1 root root 994 Mär 22 19:59 xnuppc-m-b
> -rw-r--r-- 1 root root 948 Mär 22 19:59 xnuppc-m
> -rw-r--r-- 1 root root 1002 Mär 22 19:59 xnuppc+f2
> -rw-r--r-- 1 root root 1217 Mär 22 19:59 xnuppc-f2
> -rw-r--r-- 1 root root 996 Mär 22 19:59 xnuppc+f
> -rw-r--r-- 1 root root 1209 Mär 22 19:59 xnuppc-f
> -rw-r--r-- 1 root root 847 Mär 22 19:59 xnuppc+c
> -rw-r--r-- 1 root root 948 Mär 22 19:59 xnuppc+basic
> -rw-r--r-- 1 root root 974 Mär 22 19:59 xnuppc+b
> -rw-r--r-- 1 root root 1197 Mär 22 19:59 xnuppc-b
> -rw-r--r-- 1 root root 968 Mär 22 19:59 xnuppc-90x30-m
> -rw-r--r-- 1 root root 86 Mär 22 19:59 xnuppc+90x30
> -rw-r--r-- 1 root root 1195 Mär 22 19:59 xnuppc-90x30
> -rw-r--r-- 1 root root 968 Mär 22 19:59 xnuppc-80x30-m
> -rw-r--r-- 1 root root 86 Mär 22 19:59 xnuppc+80x30
> -rw-r--r-- 1 root root 1195 Mär 22 19:59 xnuppc-80x30
> -rw-r--r-- 1 root root 968 Mär 22 19:59 xnuppc-80x25-m
> -rw-r--r-- 1 root root 86 Mär 22 19:59 xnuppc+80x25
> -rw-r--r-- 1 root root 1195 Mär 22 19:59 xnuppc-80x25
> -rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-256x96-m
> -rw-r--r-- 1 root root 90 Mär 22 19:59 xnuppc+256x96
> -rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-256x96
> -rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-200x75-m
> -rw-r--r-- 1 root root 90 Mär 22 19:59 xnuppc+200x75
> -rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-200x75
> -rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-200x64-m
> -rw-r--r-- 1 root root 90 Mär 22 19:59 xnuppc+200x64
> -rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-200x64
> -rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-160x64-m
> -rw-r--r-- 1 root root 90 Mär 22 19:59 xnuppc+160x64
> -rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-160x64
> -rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-144x48-m
> -rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+144x48
> -rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-144x48
> -rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-128x48-m
> -rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+128x48
> -rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-128x48
> -rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-128x40-m
> -rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+128x40
> -rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-128x40
> -rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-112x37-m
> -rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+112x37
> -rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-112x37
> -rw-r--r-- 1 root root 970 Mär 22 19:59 xnuppc-100x37-m
> -rw-r--r-- 1 root root 88 Mär 22 19:59 xnuppc+100x37
> -rw-r--r-- 1 root root 1199 Mär 22 19:59 xnuppc-100x37
> -rw-r--r-- 1 root root 1177 Mär 22 19:59 xnuppc
> -rw-r--r-- 1 root root 1566 Mär 22 19:59 xiterm
> -rw-r--r-- 1 root root 3053 Mär 22 19:59 xfce
> -rw-r--r-- 1 root root 352 Mär 22 19:59 xerox820
> -rw-r--r-- 1 root root 356 Mär 22 19:59 xerox1720
> -rw-r--r-- 1 root root 1390 Mär 22 19:59 x68k
> -rw-r--r-- 1 root root 657 Mär 22 19:59 x10term
> -rw-r--r-- 1 root root 3315 Mär 22 19:59 xterm-xmc
> -rw-r--r-- 1 root root 2255 Mär 22 19:59 xterm-xf86-v44
> -rw-r--r-- 1 root root 464 Mär 22 19:59 xterm+vt+edit
> -rw-r--r-- 1 root root 484 Mär 22 19:59 xterm-vt52
> -rw-r--r-- 1 root root 197 Mär 22 19:59 xterm+tmux
> -rw-r--r-- 1 root root 2071 Mär 22 19:59 xterm-sun
> -rw-r--r-- 1 root root 2021 Mär 22 19:59 xterm-sco
> -rw-r--r-- 1 root root 3339 Mär 22 19:59 xterm-rep
> -rw-r--r-- 1 root root 864 Mär 22 19:59 xterm+pcfN
> -rw-r--r-- 1 root root 864 Mär 22 19:59 xterm+pcfn
> -rw-r--r-- 1 root root 2104 Mär 22 19:59 xterm+pcfkeys
> -rw-r--r-- 1 root root 1100 Mär 22 19:59 xterm+pcf3
> -rw-r--r-- 1 root root 1049 Mär 22 19:59 xterm+pcf2
> -rw-r--r-- 1 root root 1011 Mär 22 19:59 xterm+pcf1
> -rw-r--r-- 1 root root 1011 Mär 22 19:59 xterm+pcf0
> -rw-r--r-- 1 root root 404 Mär 22 19:59 xterm+pc+edit
> -rw-r--r-- 1 root root 1088 Mär 22 19:59 xterm+pce3
> -rw-r--r-- 1 root root 1258 Mär 22 19:59 xterm+pce2
> -rw-r--r-- 1 root root 1028 Mär 22 19:59 xterm+pce1
> -rw-r--r-- 1 root root 1028 Mär 22 19:59 xterm+pce0
> -rw-r--r-- 1 root root 902 Mär 22 19:59 xterm+pcc3
> -rw-r--r-- 1 root root 876 Mär 22 19:59 xterm+pcc2
> -rw-r--r-- 1 root root 824 Mär 22 19:59 xterm+pcc1
> -rw-r--r-- 1 root root 824 Mär 22 19:59 xterm+pcc0
> -rw-r--r-- 1 root root 3929 Mär 22 19:59 xterm-nrc
> -rw-r--r-- 1 root root 402 Mär 22 19:59 xterm+noapp+pc
> -rw-r--r-- 1 root root 420 Mär 22 19:59 xterm+noapp
> -rw-r--r-- 1 root root 3295 Mär 22 19:59 xterm-noapp
> -rw-r--r-- 1 root root 3315 Mär 22 19:59 xterm-new
> -rw-r--r-- 1 root root 164 Mär 22 19:59 xterm+kbs
> -rw-r--r-- 1 root root 3337 Mär 22 19:59 xterm-ic
> -rw-r--r-- 1 root root 1813 Mär 22 19:59 xterm-hp
> -rw-r--r-- 1 root root 418 Mär 22 19:59 xterm+edit
> -rw-r--r-- 1 root root 484 Mär 22 19:59 xterm+decedit
> -rw-r--r-- 1 root root 1521 Mär 22 19:59 xterm-boldso
> -rw-r--r-- 1 root root 1527 Mär 22 19:59 xterm-bold
> -rw-r--r-- 1 root root 1799 Mär 22 19:59 xterm-basic
> -rw-r--r-- 1 root root 398 Mär 22 19:59 xterm+app+pc
> -rw-r--r-- 1 root root 422 Mär 22 19:59 xterm+app
> -rw-r--r-- 1 root root 1909 Mär 22 19:59 xterm-8bit
> -rw-r--r-- 1 root root 3371 Mär 22 19:59 xterm-88color
> -rw-r--r-- 1 root root 1517 Mär 22 19:59 xterm-65
> -rw-r--r-- 1 root root 1053 Mär 22 19:59 xterm+256color
> -rw-r--r-- 1 root root 1525 Mär 22 19:59 xterm-24
> -rw-r--r-- 1 root root 3535 Mär 22 19:59 xterm-16color
> lrwxrwxrwx 1 root root 15 Mär 22 20:00 xwsh -> ../i/iris-color
> lrwxrwxrwx 1 root root 8 Mär 22 20:00 xterm-vi -> xterm-ic
> lrwxrwxrwx 1 root root 8 Mär 22 20:00 xterms -> xterm-24
> lrwxrwxrwx 1 root root 10 Mär 22 20:00 xl83 -> ../c/cyb83
> lrwxrwxrwx 1 root root 18 Mär 22 20:00 xerox-lm -> ../d/diablo1640-lm
> lrwxrwxrwx 1 root root 15 Mär 22 20:00 xerox -> ../d/diablo1640
> lrwxrwxrwx 1 root root 11 Mär 22 20:00 xenix -> ../i/ibmpcx
> lrwxrwxrwx 1 root root 12 Mär 22 20:00 xdku -> ../t/tws2103
> lrwxrwxrwx 1 root root 8 Mär 22 20:00 x820 -> xerox820
> lrwxrwxrwx 1 root root 4 Mär 22 20:00 x68k-ite -> x68k
> lrwxrwxrwx 1 root root 9 Mär 22 20:00 x1750 -> xerox1720
> lrwxrwxrwx 1 root root 9 Mär 22 20:00 x1720 -> xerox1720
> lrwxrwxrwx 1 root root 18 Mär 22 20:00 x1700-lm -> ../d/diablo1740-lm
> lrwxrwxrwx 1 root root 15 Mär 22 20:00 x1700 -> ../d/diablo1640
> lrwxrwxrwx 1 root root 24 Mär 22 20:00 xterm-r6 -> /lib/terminfo/x/xterm-r6
> lrwxrwxrwx 1 root root 27 Mär 22 20:00 xterm-color -> /lib/terminfo/x/xterm-color
> drwxr-xr-x 44 root root 4096 Apr 27 22:15 ..
> lrwxrwxrwx 1 root root 21 Sep 1 22:42 xterm -> /lib/terminfo/x/xterm
> drwxr-xr-x 2 root root 4096 Sep 1 22:42 .
> ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ ls -lart /lib/terminfo/x/xterm
> -rw-r--r-- 1 root root 3315 Mär 22 19:59 /lib/terminfo/x/xterm
> ulysses@ulysses-P35-DS3R:/usr/share/terminfo/x$ cd
> ulysses@ulysses-P35-DS3R:~$ cd qp-3.8-i386/
> ulysses@ulysses-P35-DS3R:~/qp-3.8-i386$ ls
> doc examples LICENSE qp README RELEASE_NOTES
>

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#15

Not so fast. This issue is still solvable.

The fact that the directory /usr/share/terminfo/x does not exist on your PC, means that the Ubuntu package ncurses-term is not yet installed on your PC.

Please run these commands in a Terminal:

sudo apt-get update

sudo apt-get install ncurses-term ncurses-base ncurses-bin

cd /usr/share/terminfo/x

sudo rm xterm

# ignore the error if it cannot remove xterm (means it cannot find it)

sudo ln -s /lib/terminfo/x/xterm xterm

Then try running the ./qp binary in the directory where the qp binary is stored.

I bet that this sequence of commands is the final solution procedure for this particular problem.

Source: http://packages.ubuntu.com/trusty/all/ncurses-term/filelist

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#16

Furthermore, I am now pretty confident to say that this 3 year old binary qp was only made to work with the ncurses-base package from Ubuntu 10.04LTS.

That ncurses-base package from Ubuntu 10.04 LTS contains the file /usr/share/terminfo/x/xterm which is what your qp binary is looking for.

The file /usr/share/terminfo/x/xterm in Ubuntu 10.04 LTS has been replaced with /lib/terminfo/x/xterm in Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.

This is why we need to create a symbolic link from /usr/share/terminfo/x/xterm pointing to the newer /lib/terminfo/x/xterm file.

This is what qp is complaining about.... We need to trick qp into thinking that /usr/share/terminfo/x/xterm still exists in Ubuntu 14.04 LTS.

http://packages.ubuntu.com/lucid/all/ncurses-base/filelist

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

Try

sudo apt-get install ncurses-term

and then re-try "cd /usr/share/terminfo/x" and the rest of Mark's advice.

Revision history for this message
ken black (kenblack123) said :
#18

Holy mackerel---the fixes work
I cannot thank you enough for your diligence in pursuing this problem
Never in a million years would I be able to get Quiddpro working--thanks
again

regards
ken black

On 09/02/2014 04:07 AM, Mark Rijckenberg wrote:
> Your question #253757 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253757
>
> Mark Rijckenberg proposed the following answer:
> Furthermore, I am now pretty confident to say that this 3 year old
> binary qp was only made to work with the ncurses-base package from
> Ubuntu 10.04LTS.
>
> That ncurses-base package from Ubuntu 10.04 LTS contains the file
> /usr/share/terminfo/x/xterm which is what your qp binary is looking for.
>
> The file /usr/share/terminfo/x/xterm in Ubuntu 10.04 LTS has been
> replaced with /lib/terminfo/x/xterm in Ubuntu 12.04 LTS and Ubuntu 14.04
> LTS.
>
> This is why we need to create a symbolic link from
> /usr/share/terminfo/x/xterm pointing to the newer /lib/terminfo/x/xterm
> file.
>
> This is what qp is complaining about.... We need to trick qp into
> thinking that /usr/share/terminfo/x/xterm still exists in Ubuntu 14.04
> LTS.
>
> http://packages.ubuntu.com/lucid/all/ncurses-base/filelist
>

Revision history for this message
ken black (kenblack123) said :
#19

Holy mackerel---the fixes work
I cannot thank you enough for your diligence in pursuing this problem
Never in a million years would I be able to get Quiddpro working--thanks
again

regards
ken black

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#20

You're welcome.