Greetings,
I have a fedora 17 x86_64 box with abiword 2.8.6 installed via RPM in /usr/local/bin
Yesterday I decided to try for a moment, just for the fun of it, abiword 3.0 from source. I ended up with a binary in /usr/local/bin/abiwowrd.
When I launch THAT binary from the command line, I get an abiword window whose "About" box says it's abiword 2.8.6
I have already asked on the abiword list, you can read all details and configure output here:
http://www.abisource.com/mailinglists/abiword-user/2013/Oct/0006.html
http://www.abisource.com/mailinglists/abiword-user/2013/Oct/0008.html
posting here to see if some more light can come also from the Fedora side.
TIA, Marco
On 10/17/13 04:37, M. Fioretti wrote:
Greetings,
I have a fedora 17 x86_64 box with abiword 2.8.6 installed via RPM in /usr/local/bin
Yesterday I decided to try for a moment, just for the fun of it, abiword 3.0 from source. I ended up with a binary in /usr/local/bin/abiwowrd.
When I launch THAT binary from the command line, I get an abiword window whose "About" box says it's abiword 2.8.6
I have already asked on the abiword list, you can read all details and configure output here:
http://www.abisource.com/mailinglists/abiword-user/2013/Oct/0006.html
http://www.abisource.com/mailinglists/abiword-user/2013/Oct/0008.html
posting here to see if some more light can come also from the Fedora side.
TIA, Marco
Is /usr/local/bin/abiword a script that runs the abiword executable (perhaps using your path to get the correct executable)?
Kevin
On Thu, Oct 17, 2013 08:31:32 AM -0500, Kevin Martin wrote:
On 10/17/13 04:37, M. Fioretti wrote: [snip]
When I launch THAT binary from the command line, I get an abiword
[snip]
Is /usr/local/bin/abiword a script that runs the abiword executable (perhaps using your path to get the correct executable)?
no, I had said binary because it is a binary:
[marco@polaris ~]$ file /usr/local/bin/abiword /usr/local/bin/abiword: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x09a41a0a13e8e09c817dedb54f9189638bb05893, not stripped [marco@polaris ~]$ echo $PATH /usr/lib64/qt-3.3/bin:/usr/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/home/z/bin:/home/marco/bin:/home/z/bin
I too thought that since it uses shared libs it may be loading something from the 2.8.6 installation through such libs, but fail to see what/where they may be. /usr/lib64/qt-3.3/bin is empty, and the others are "bin", not "lib" folders.
Marco
On 10/17/13 08:55, M. Fioretti wrote:
On Thu, Oct 17, 2013 08:31:32 AM -0500, Kevin Martin wrote:
On 10/17/13 04:37, M. Fioretti wrote: [snip]
When I launch THAT binary from the command line, I get an abiword
[snip]
Is /usr/local/bin/abiword a script that runs the abiword executable (perhaps using your path to get the correct executable)?
no, I had said binary because it is a binary:
[marco@polaris ~]$ file /usr/local/bin/abiword /usr/local/bin/abiword: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x09a41a0a13e8e09c817dedb54f9189638bb05893, not stripped [marco@polaris ~]$ echo $PATH /usr/lib64/qt-3.3/bin:/usr/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/home/z/bin:/home/marco/bin:/home/z/bin
I too thought that since it uses shared libs it may be loading something from the 2.8.6 installation through such libs, but fail to see what/where they may be. /usr/lib64/qt-3.3/bin is empty, and the others are "bin", not "lib" folders.
Marco
Hmm, on abisource.com it seems like the lastest beta version is the 2.9.4 source, no 3.0 source. And I can find no downloads for v3 on sourceforge. Where did you get the source code?
Kevin
On 10/17/13 10:22, Kevin Martin wrote:
On 10/17/13 08:55, M. Fioretti wrote:
On Thu, Oct 17, 2013 08:31:32 AM -0500, Kevin Martin wrote:
On 10/17/13 04:37, M. Fioretti wrote: [snip]
When I launch THAT binary from the command line, I get an abiword
[snip]
Is /usr/local/bin/abiword a script that runs the abiword executable (perhaps using your path to get the correct executable)?
no, I had said binary because it is a binary:
[marco@polaris ~]$ file /usr/local/bin/abiword /usr/local/bin/abiword: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x09a41a0a13e8e09c817dedb54f9189638bb05893, not stripped [marco@polaris ~]$ echo $PATH /usr/lib64/qt-3.3/bin:/usr/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/home/z/bin:/home/marco/bin:/home/z/bin
I too thought that since it uses shared libs it may be loading something from the 2.8.6 installation through such libs, but fail to see what/where they may be. /usr/lib64/qt-3.3/bin is empty, and the others are "bin", not "lib" folders.
Marco
Hmm, on abisource.com it seems like the lastest beta version is the 2.9.4 source, no 3.0 source. And I can find no downloads for v3 on sourceforge. Where did you get the source code?
Kevin
Never mind the question on the source...I went and looked at your postings on the abiword forums and found the link that you downloaded from.
Kevin
On 10/17/13 10:23, Kevin Martin wrote:
On 10/17/13 10:22, Kevin Martin wrote:
On 10/17/13 08:55, M. Fioretti wrote:
On Thu, Oct 17, 2013 08:31:32 AM -0500, Kevin Martin wrote:
On 10/17/13 04:37, M. Fioretti wrote: [snip]
When I launch THAT binary from the command line, I get an abiword
[snip]
Is /usr/local/bin/abiword a script that runs the abiword executable (perhaps using your path to get the correct executable)?
no, I had said binary because it is a binary:
[marco@polaris ~]$ file /usr/local/bin/abiword /usr/local/bin/abiword: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x09a41a0a13e8e09c817dedb54f9189638bb05893, not stripped [marco@polaris ~]$ echo $PATH /usr/lib64/qt-3.3/bin:/usr/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/home/z/bin:/home/marco/bin:/home/z/bin
I too thought that since it uses shared libs it may be loading something from the 2.8.6 installation through such libs, but fail to see what/where they may be. /usr/lib64/qt-3.3/bin is empty, and the others are "bin", not "lib" folders.
Marco
Hmm, on abisource.com it seems like the lastest beta version is the 2.9.4 source, no 3.0 source. And I can find no downloads for v3 on sourceforge. Where did you get the source code?
Kevin
Never mind the question on the source...I went and looked at your postings on the abiword forums and found the link that you downloaded from.
Kevin
If you cd into your abiword-3.0.0/src directory and execute ./abiword (which happens to be script) what does Help->About tell you (once abiword has started)?
Kevin
On Thu, Oct 17, 2013 10:52:30 AM -0500, Kevin Martin wrote:
If you cd into your abiword-3.0.0/src directory and execute ./abiword (which happens to be script) what does Help->About tell you (once abiword has started)?
interesting. On my box, it aborts when done as normal user (marco):
[marco@polaris src]$ pwd /home/marco/abi3/abiword-3.0.0/src [marco@polaris src]$ ./abiword /bin/ld: cannot open output file /home/marco/abi3/abiword-3.0.0/src/.libs/19626-lt-abiword: Permission denied collect2: error: ld returned 1 exit statusn[marco@polaris src]$
but works, and says "Abiword 3.0.0" when I do the same thing as root:
[marco@polaris src]$ su - Password: [root@polaris ~]# cd /home/marco/abi3/abiword-3.0.0/src/ [root@polaris src]# ./abiword
(starts normally)
###############################################################
Weird. I got no errors, and I don't remember seeing any warning that may be related to this. Thanks a lot, but what now?
Hmmm
Marco
On 10/17/13 11:44, M. Fioretti wrote:
On Thu, Oct 17, 2013 10:52:30 AM -0500, Kevin Martin wrote:
If you cd into your abiword-3.0.0/src directory and execute ./abiword (which happens to be script) what does Help->About tell you (once abiword has started)?
interesting. On my box, it aborts when done as normal user (marco):
[marco@polaris src]$ pwd /home/marco/abi3/abiword-3.0.0/src [marco@polaris src]$ ./abiword /bin/ld: cannot open output file /home/marco/abi3/abiword-3.0.0/src/.libs/19626-lt-abiword: Permission denied collect2: error: ld returned 1 exit statusn[marco@polaris src]$
but works, and says "Abiword 3.0.0" when I do the same thing as root:
[marco@polaris src]$ su - Password: [root@polaris ~]# cd /home/marco/abi3/abiword-3.0.0/src/ [root@polaris src]# ./abiword
(starts normally)
###############################################################
Weird. I got no errors, and I don't remember seeing any warning that may be related to this. Thanks a lot, but what now?
Hmmm
Marco
Hmm, I don't even have that 19626 file in .libs. The entirety of my .libs directory is:
-rwxrwxr-x 1 500 1000 47055 Oct 17 10:48 abiword lrwxrwxrwx 1 500 1000 20 Oct 17 10:48 libabiword-3.0.la -> ../libabiword-3.0.la -rw-rw-r-- 1 500 1000 1200 Oct 17 10:48 libabiword-3.0.lai -rwxrwxr-x 1 500 1000 51656791 Oct 17 10:48 libabiword-3.0.so -rw-rw-r-- 1 500 1000 28232 Oct 17 10:48 libabiword_3.0_la-abi_ver.o -rw-rw-r-- 1 500 1000 72024 Oct 17 10:48 libabiword_3.0_la-libabiword.o -rwxrwxr-x 1 500 1000 47055 Oct 17 10:49 lt-abiword
Did you compile as root or sudo by any chance?
Kevin
On Thu, Oct 17, 2013 12:33:31 PM -0500, Kevin Martin wrote:
Hmm, I don't even have that 19626 file in .libs. The entirety of my .libs directory is:
-rwxrwxr-x 1 500 1000 47055 Oct 17 10:48 abiword lrwxrwxrwx 1 500 1000 20 Oct 17 10:48 libabiword-3.0.la -> ../libabiword-3.0.la -rw-rw-r-- 1 500 1000 1200 Oct 17 10:48 libabiword-3.0.lai -rwxrwxr-x 1 500 1000 51656791 Oct 17 10:48 libabiword-3.0.so -rw-rw-r-- 1 500 1000 28232 Oct 17 10:48 libabiword_3.0_la-abi_ver.o -rw-rw-r-- 1 500 1000 72024 Oct 17 10:48 libabiword_3.0_la-libabiword.o -rwxrwxr-x 1 500 1000 47055 Oct 17 10:49 lt-abiword
Did you compile as root or sudo by any chance?
yes, I compiled as root (I didn't even realize it when I started: I had just been doing upgrades and other "root" stuff", then continued to work in the same terminal...)
anyway, after running that abiword wrapper once as root as reported yesterday:
- my .libs folder is the same as yours (no 19626 file anymore)
- now I can run the wrapper (getting "Abiword 3.0.0") in the about box even as normal user
at this point, what I would like to know is why make and "make install" left me with a brand new binary of the old version (2.8.6) in /usr/local/bin/ and a wrapper for the right version in the _wrong_ place. Even if I should not have ran make as root, why should something like this happen?
Confused, Marco
On 10/18/13 01:28, M. Fioretti wrote:
On Thu, Oct 17, 2013 12:33:31 PM -0500, Kevin Martin wrote:
Hmm, I don't even have that 19626 file in .libs. The entirety of my .libs directory is:
-rwxrwxr-x 1 500 1000 47055 Oct 17 10:48 abiword lrwxrwxrwx 1 500 1000 20 Oct 17 10:48 libabiword-3.0.la -> ../libabiword-3.0.la -rw-rw-r-- 1 500 1000 1200 Oct 17 10:48 libabiword-3.0.lai -rwxrwxr-x 1 500 1000 51656791 Oct 17 10:48 libabiword-3.0.so -rw-rw-r-- 1 500 1000 28232 Oct 17 10:48 libabiword_3.0_la-abi_ver.o -rw-rw-r-- 1 500 1000 72024 Oct 17 10:48 libabiword_3.0_la-libabiword.o -rwxrwxr-x 1 500 1000 47055 Oct 17 10:49 lt-abiword
Did you compile as root or sudo by any chance?
yes, I compiled as root (I didn't even realize it when I started: I had just been doing upgrades and other "root" stuff", then continued to work in the same terminal...)
anyway, after running that abiword wrapper once as root as reported yesterday:
my .libs folder is the same as yours (no 19626 file anymore)
now I can run the wrapper (getting "Abiword 3.0.0") in the about box even as normal user
at this point, what I would like to know is why make and "make install" left me with a brand new binary of the old version (2.8.6) in /usr/local/bin/ and a wrapper for the right version in the _wrong_ place. Even if I should not have ran make as root, why should something like this happen?
Confused, Marco
So if you redo your "make install" does the binary change in /usr/local/bin?
Kevin
On Thu, Oct 17, 2013 11:37:24 AM +0200, Marco Fioretti wrote:
Greetings,
I have a fedora 17 x86_64 box with abiword 2.8.6 installed via RPM in /usr/local/bin
Yesterday I decided to try for a moment, just for the fun of it, abiword 3.0 from source. I ended up with a binary in /usr/local/bin/abiwowrd.
When I launch THAT binary from the command line, I get an abiword window whose "About" box says it's abiword 2.8.6
Yesterday I realized that, even if I was sure this was NOT the case, I had initially been running the configure and make steps as root.
As I understand it now, this distraction left temporary files owned by root in the src directory (see previous messages in this thread). If, why and how this is what actually left me with a 2.8.6 abiword binary in /usr/local/bin/ I am not sure. Explanations are welcome.
Anyway, I removed that binary manually, ran make distclean, erased the working directory and started from scratch from the tarball, i.e.
tar xf abiword3.source.code configure (with the options mentioned in previous messages) make make install
doing ONLY the last step as root, and now I do have a /usr/local/bin/abiword that says "Abiword 3.0.0" in its about box.
Thanks again to all who helped! Marco