[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: compile error
From: |
Friedrich Beckmann |
Subject: |
Re: PSPP-BUG: compile error |
Date: |
Sun, 12 May 2024 08:34:51 +0200 |
Hi Bernd,
thanks for your help. I updated the previous patch and changed from LANG=C to
LC_ALL=C.
https://git.savannah.gnu.org/cgit/pspp.git/commit/?id=10bc3415a25a0b275c22b3dbc921da11076b68c0
Thanks!
Friedrich
> Am 11.05.2024 um 12:54 schrieb Bernd Butscheidt <bbutscheidt@yahoo.de>:
>
> Hi,
>
> I fear this is getting out of my hands and that the problem is my pc-box here
> and not your fix.
>
> But step by step.
>
> Trying "LANG=C" I get:
>
> ===============
>
> LANG=C make install
>
> ...
>
> /bin/mkdir -p '/usr/local/bin'
> /bin/sh ./libtool --mode=install /bin/install -c src/ui/terminal/pspp
> src/ui/gui/psppire utilities/pspp-convert utilities/pspp-output
> '/usr/local/bin'
> libtool: warning: 'src/libpspp.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: warning: 'src/libpspp-core.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: install: /bin/install -c src/ui/terminal/.libs/pspp
> /usr/local/bin/pspp
> libtool: warning: 'src/libpspp.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: warning: 'src/libpspp-core.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: install: /bin/install -c src/ui/gui/.libs/psppire
> /usr/local/bin/psppire
> libtool: warning: 'src/libpspp.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: warning: 'src/libpspp-core.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: install: /bin/install -c utilities/.libs/pspp-convert
> /usr/local/bin/pspp-convert
> libtool: warning: 'src/libpspp.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: warning: 'src/libpspp-core.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: install: /bin/install -c utilities/.libs/pspp-output
> /usr/local/bin/pspp-output
> /bin/mkdir -p '/usr/local/lib/pspp'
>
>
> ...
>
> /bin/install -c -m 644 $p /usr/local/share/info/pspp-figures ;\
> done
> /bin/install: cannot stat 'doc/pspp-figures/show-system.png': No such file or
> directory
> /bin/install: cannot stat 'doc/pspp-figures/tutorial2a.png': No such file or
> directory
> /bin/install: cannot stat 'doc/pspp-figures/tutorial2b.png': No such file or
> directory
> /bin/install: cannot stat 'doc/pspp-figures/tutorial5a.png': No such file or
> directory
> /bin/install: cannot stat 'doc/pspp-figures/tutorial5b.png': No such file or
> directory
> /bin/install: cannot stat 'doc/pspp-figures/tutorial7a.png': No such file or
> directory
> /bin/install: cannot stat 'doc/pspp-figures/tutorial7b.png': No such file or
> directory
> make[3]: *** [Makefile:22580: install-info-local] Error 1
> make[3]: Leaving directory '/Data_bb/archlinux/makepkg/pspp/pspp-2.0.1'
> make[2]: *** [Makefile:18022: install-am] Error 2
> make[2]: Leaving directory '/Data_bb/archlinux/makepkg/pspp/pspp-2.0.1'
> make[1]: *** [Makefile:17698: install-recursive] Error 1
> make[1]: Leaving directory '/Data_bb/archlinux/makepkg/pspp/pspp-2.0.1'
> make: *** [Makefile:18015: install] Error 2
>
> ===============
>
> Directly after this:
>
> ===============
>
> LC_ALL=C make install
>
> ...
>
> /bin/mkdir -p '/usr/local/bin'
> /bin/sh ./libtool --mode=install /bin/install -c src/ui/terminal/pspp
> src/ui/gui/psppire utilities/pspp-convert utilities/pspp-output
> '/usr/local/bin'
> libtool: warning: 'src/libpspp.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: warning: 'src/libpspp-core.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: install: /bin/install -c src/ui/terminal/.libs/pspp
> /usr/local/bin/pspp
> libtool: warning: 'src/libpspp.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: warning: 'src/libpspp-core.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: install: /bin/install -c src/ui/gui/.libs/psppire
> /usr/local/bin/psppire
> libtool: warning: 'src/libpspp.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: warning: 'src/libpspp-core.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: install: /bin/install -c utilities/.libs/pspp-convert
> /usr/local/bin/pspp-convert
> libtool: warning: 'src/libpspp.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: warning: 'src/libpspp-core.la' has not been installed in
> '/usr/local/lib/pspp'
> libtool: install: /bin/install -c utilities/.libs/pspp-output
> /usr/local/bin/pspp-output
> /bin/mkdir -p '/usr/local/lib/pspp'
>
> ...
>
> for f in po/cs.gmo po/ar.gmo po/ca.gmo po/de.gmo po/el.gmo po/es.gmo
> po/fr.gmo po/gl.gmo po/hu.gmo po/ja.gmo po/lt.gmo po/nl.gmo po/pl.gmo
> po/pt_BR.gmo po/ru.gmo po/sl.gmo po/ta.gmo po/tr.gmo po/uk.gmo po/
> zh_CN.gmo; do \
> lang=`echo $f | /bin/sed -e 's%po/\(.*\)\.gmo%\1%' ` ; \
> /bin/mkdir -p /usr/local/share/locale/$lang/LC_MESSAGES; \
> /bin/install -c -m 644 $f /usr/local/share/locale/$lang/LC_MESSAGES/pspp.mo
> ; \
> done
> make[4]: Leaving directory '/Data_bb/archlinux/makepkg/pspp/pspp-2.0.1'
> make[3]: Leaving directory '/Data_bb/archlinux/makepkg/pspp/pspp-2.0.1'
> make[2]: Leaving directory '/Data_bb/archlinux/makepkg/pspp/pspp-2.0.1'
> make[1]: Leaving directory '/Data_bb/archlinux/makepkg/pspp/pspp-2.0.1'
> [root@amd64-archlinux pspp-2.0.1]#
>
> ===============
>
> meaning the same libtool warnings, but the make install seems to finish.
>
> After "LC_ALL=C make install"
> I can do
>
> ===========
>
> [bernd_b@amd64-archlinux pspp-2.0.1]$ which pspp
> /usr/local/bin/pspp
> [bernd_b@amd64-archlinux pspp-2.0.1]$ /usr/local/bin/pspp
> /usr/local/bin/pspp: error while loading shared libraries: libpspp-2.0.1.so:
> cannot open shared object file: No such file or directory
> [bernd_b@amd64-archlinux pspp-2.0.1]$ su
> Password:
> [root@amd64-archlinux pspp-2.0.1]# ls -lsa /usr/local/lib/pspp
> total 29764
> 0 drwx------ 2 root root 180 11. Mai 12:43 .
> 4 drwxr-xr-x 4 root root 4096 11. Mai 12:43 ..
> 7700 -rwxr-xr-x 1 root root 7883568 11. Mai 12:43 libpspp-2.0.1.so
> 11788 -rw-r--r-- 1 root root 12068828 11. Mai 12:43 libpspp.a
> 4004 -rwxr-xr-x 1 root root 4097104 11. Mai 12:43 libpspp-core-2.0.1.so
> 6260 -rw-r--r-- 1 root root 6408766 11. Mai 12:43 libpspp-core.a
> 4 -rwxr-xr-x 1 root root 1006 11. Mai 12:43 libpspp-core.la
> 0 lrwxrwxrwx 1 root root 21 11. Mai 12:43 libpspp-core.so ->
> libpspp-core-2.0.1.so
> 4 -rwxr-xr-x 1 root root 1045 11. Mai 12:43 libpspp.la
> 0 lrwxrwxrwx 1 root root 16 11. Mai 12:43 libpspp.so ->
> libpspp-2.0.1.so
> [root@amd64-archlinux pspp-2.0.1]# chmod 755 /usr/local/lib/pspp
> [root@amd64-archlinux pspp-2.0.1]# exit
> exit
> [bernd_b@amd64-archlinux pspp-2.0.1]$ /usr/local/bin/pspp
> PSPP is free software and you are welcome to distribute copies of it
> under certain conditions; type "show copying." to see the conditions.
> There is ABSOLUTELY NO WARRANTY for PSPP; type "show warranty." for details.
> GNU pspp 2.0.1
> PSPP>
>
>
> ===========
>
> So I get a working installation after all.
>
> So to cut a long story short:
> Ignoring the /usr/local/lib/pspp problem
>
> LC_ALL=C make install
>
> seems to do the trick, whereas
>
> LANG=C make install
>
> still seems to be missing some *.png files.
>
>
> Don't know what introduces this /usr/local/lib/pspp problem. Yesterday, I
> could even simply fix the pkbuild from aur.archlinux.org
> (https://aur.archlinux.org/packages/pspp) by just changing the line
>
> make DESTDIR="${pkgdir}" install
>
> to
>
> LC_ALL=C make DESTDIR="${pkgdir}" install
>
>
> Cheers
> Bernd
>
>
>
>
> On Saturday, May 11, 2024 at 07:00:33 AM GMT+2, Friedrich Beckmann
> <friedrich.beckmann@gmx.de> wrote:
>
>
> Hi Bernd,
>
> thanks for your test! The patch that I introduced was „LANG=C“ instead of
> „LC_ALL=C“ which is maybe wrong.
>
> https://git.savannah.gnu.org/cgit/pspp.git/commit/?id=d8f8542df36afc05f526af2ddd1e2782d09495e3
>
> Could you try:
>
> LANG=C make install
>
> and see if the problem is still there?
>
> Cheers
>
> Friedrich
>
> > Am 10.05.2024 um 20:52 schrieb Bernd Butscheidt <bbutscheidt@yahoo.de>:
> >
> > Tried your sequence too, but it leads to the same errors. Adding as
> > suggested
> >
> > LC_ALL=C make -j1 install
> >
> > fixes it again.
> >
> >
> > On Friday, May 10, 2024 at 08:45:26 PM GMT+2, Bernd Butscheidt
> > <bbutscheidt@yahoo.de> wrote:
> >
> >
> > Hi,
> >
> > I just did:
> >
> > ./configure
> > make
> > make install
> >
> > The last command as root.
> >
> > Cheers
> > Bernd
> >
> >
> > On Friday, May 10, 2024 at 08:38:25 PM GMT+2, Friedrich Beckmann
> > <friedrich.beckmann@gmx.de> wrote:
> >
> >
> > Hi Bernd,
> >
> > can you say which sequence of make commands you are doing? Looking at the
> > debian build log, the sequence for the debian build is:
> >
> > make -j6 all
> > make -j6 html pdf
> > make -j1 install
> >
> > Cheers
> >
> > Friedrich
> >
> > > Am 10.05.2024 um 18:04 schrieb Ben Pfaff <blp@cs.stanford.edu>:
> > >
> > > That's what I wanted to know, it means that you got the released
> > > version of 2.0.1,
> > > so probably we still need to fix something additional here. Thank you!
> > >
> > > On Fri, May 10, 2024 at 9:02 AM Bernd Butscheidt <bbutscheidt@yahoo.de>
> > > wrote:
> > >>
> > >> I followed this link:
> > >>
> > >> https://ftpmirror.gnu.org/pspp
> > >>
> > >> as suggested here: https://www.gnu.org/software/pspp/get.html
> > >>
> > >> I guess it leads to a randomly selected mirror?
> > >>
> > >>
> > >> On Friday, May 10, 2024 at 05:46:06 PM GMT+2, Ben Pfaff
> > >> <blp@cs.stanford.edu> wrote:
> > >>
> > >>
> > >> I'm glad it worked!
> > >>
> > >> Do you know where the source code came from? Did you get it from
> > >> ftp.gnu.org or some other source?
> > >>
> > >> On Fri, May 10, 2024 at 8:25 AM Bernd Butscheidt <bbutscheidt@yahoo.de>
> > >> wrote:
> > >>>
> > >>>
> > >>>
> > >>> ==============================
> > >>>
> > >>> ./configure
> > >>>
> > >>> ...
> > >>>
> > >>> make
> > >>>
> > >>> ...
> > >>>
> > >>> su
> > >>>
> > >>> ...
> > >>>
> > >>> LC_ALL=C make install
> > >>>
> > >>> ...
> > >>>
> > >>>
> > >>> ====================================================
> > >>>
> > >>> did the trick here.
> > >>>
> > >>> For info:
> > >>>
> > >>> ====================================================
> > >>> # locale
> > >>> LANG=en_GB.UTF-8
> > >>> LC_CTYPE="en_GB.UTF-8"
> > >>> LC_NUMERIC=de_DE.UTF-8
> > >>> LC_TIME=de_DE.UTF-8
> > >>> LC_COLLATE="en_GB.UTF-8"
> > >>> LC_MONETARY=de_DE.UTF-8
> > >>> LC_MESSAGES=en_GB.UTF-8
> > >>> LC_PAPER=de_DE.UTF-8
> > >>> LC_NAME=de_DE.UTF-8
> > >>> LC_ADDRESS="en_GB.UTF-8"
> > >>> LC_TELEPHONE=de_DE.UTF-8
> > >>> LC_MEASUREMENT=de_DE.UTF-8
> > >>> LC_IDENTIFICATION="en_GB.UTF-8"
> > >>> LC_ALL=
> > >>> ============================================
> > >>>
> > >>> Thank you very much!
> > >>>
> > >>>
> > >>> On Friday, May 10, 2024 at 01:36:57 AM GMT+2, Ben Pfaff
> > >>> <blp@cs.stanford.edu> wrote:
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> There might be more to it, because the fix that you committed should
> > >>> already be in 2.0.1, and it looks like Bernd is building 2.0.1.
> > >>>
> > >>> Bernd, if you run your "make install" as "LC_ALL=C make install", does
> > >>> it fix the problem?
> > >>>
> > >>> On Thu, May 9, 2024 at 2:20 PM Friedrich Beckmann via Bug-gnu-pspp
> > >>> <bug-gnu-pspp@gnu.org> wrote:
> > >>>>
> > >>>> Hi Bernd,
> > >>>>
> > >>>> thanks for your report. I guess this is this problem here:
> > >>>>
> > >>>> https://savannah.gnu.org/bugs/index.php?65124
> > >>>>
> > >>>> Friedrich
> > >>>>
> > >>>>> Am 09.05.2024 um 18:40 schrieb Bernd Butscheidt via Bug-gnu-pspp
> > >>>>> <bug-gnu-pspp@gnu.org>:
> > >>>>>
> > >>>>>
> > >>>>> Hello,
> > >>>>>
> > >>>>> trying to compile pspp on current archlinux, I get this error running
> > >>>>> make install as root:
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> ...
> > >>>>> /bin/install -c -m 644 $p /usr/local/share/info/pspp-figures ;\
> > >>>>> done
> > >>>>> /bin/install: cannot stat 'doc/pspp-figures/show-system.png': No such
> > >>>>> file or directory
> > >>>>> /bin/install: cannot stat 'doc/pspp-figures/tutorial2a.png': No such
> > >>>>> file or directory
> > >>>>> /bin/install: cannot stat 'doc/pspp-figures/tutorial2b.png': No such
> > >>>>> file or directory
> > >>>>> /bin/install: cannot stat 'doc/pspp-figures/tutorial5a.png': No such
> > >>>>> file or directory
> > >>>>> /bin/install: cannot stat 'doc/pspp-figures/tutorial5b.png': No such
> > >>>>> file or directory
> > >>>>> /bin/install: cannot stat 'doc/pspp-figures/tutorial7a.png': No such
> > >>>>> file or directory
> > >>>>> /bin/install: cannot stat 'doc/pspp-figures/tutorial7b.png': No such
> > >>>>> file or directory
> > >>>>> make[3]: *** [Makefile:22574: install-info-local] Error 1
> > >>>>> make[3]: Leaving directory
> > >>>>> '/Data_bb/archlinux/makepkg/pspp/pspp-2.0.1'
> > >>>>>
> > >>>>> Cheers
> > >>>>> Bernd B.
> > >>>>>
> > >>>>> _______________________________________________
> > >>>>> Bug-gnu-pspp mailing list
> > >>>>> Bug-gnu-pspp@gnu.org
> > >>>>> https://lists.gnu.org/mailman/listinfo/bug-gnu-pspp
> >
> > >>>
> > >>>>
> > >>>>
> > >>>> _______________________________________________
> > >>>> Bug-gnu-pspp mailing list
> > >>>> Bug-gnu-pspp@gnu.org
> > >>>> https://lists.gnu.org/mailman/listinfo/bug-gnu-pspp
> > >>>
> > >
> > > _______________________________________________
> > > Bug-gnu-pspp mailing list
> > > Bug-gnu-pspp@gnu.org
> > > https://lists.gnu.org/mailman/listinfo/bug-gnu-pspp
> >
>
- Re: PSPP-BUG: compile error, (continued)
- Re: PSPP-BUG: compile error, Ben Pfaff, 2024/05/09
- Re: PSPP-BUG: compile error, Bernd Butscheidt, 2024/05/10
- Re: PSPP-BUG: compile error, Ben Pfaff, 2024/05/10
- Re: PSPP-BUG: compile error, Bernd Butscheidt, 2024/05/10
- Re: PSPP-BUG: compile error, Ben Pfaff, 2024/05/10
- Re: PSPP-BUG: compile error, Friedrich Beckmann, 2024/05/10
- Re: PSPP-BUG: compile error, Bernd Butscheidt, 2024/05/10
- Re: PSPP-BUG: compile error, Bernd Butscheidt, 2024/05/10
- Re: PSPP-BUG: compile error, Friedrich Beckmann, 2024/05/11
- Re: PSPP-BUG: compile error, Bernd Butscheidt, 2024/05/11
- Re: PSPP-BUG: compile error,
Friedrich Beckmann <=
- Re: PSPP-BUG: compile error, Ben Pfaff, 2024/05/13