Date: Fri, 28 Nov 2014 17:02:36 -0200 From: Luciano Rottava da Silva <rottava@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: olvwm on amd64 Message-ID: <CAGROAxVhhrmPe9zr%2BwwT=HbTWu-EWDTbNbpBTvn-f0re_y=AEQ@mail.gmail.com> In-Reply-To: <CAJ-VmomgnyUWeA79rT%2BuMkMS3M_sK2_a%2BcajXLM5MWkgXd8_vw@mail.gmail.com> References: <CAGROAxU0OK7ZZYpuaqFQ3u6UjiUSeBE18adcpudoxcjtFodATQ@mail.gmail.com> <546E5D2D.6010603@gmail.com> <CAGROAxUzdfZEzfaix_NFbNXHsHJJ7yR9U2bxgOA3_KtNWh8aKQ@mail.gmail.com> <CAJ-VmomBnv4JGUz0SzeSh0hRRPsgPtFdewTOKTM4ruOdjQoiRw@mail.gmail.com> <54700218.8090300@bananmonarki.se> <CAJ-Vmo=%2BArMdHW=dnbpt5rR20gtTahUquQr-nGrsC052icWvpw@mail.gmail.com> <54708578.5070401@bananmonarki.se> <54708DC4.8070209@bananmonarki.se> <CAGROAxWoPB-eSXF9YUW8oNO8%2B2oZNX-b_fEDM=t72bJ_FPqkuA@mail.gmail.com> <CAGROAxX5m2iRhu83mz6e6MR0vvtPCBQkLpVLJLqtyDAwYBYRtg@mail.gmail.com> <CAGROAxVNnM0tURzNQ0_paWeRUPHX_D4V=5g5QNzz2ZCNP1gvHA@mail.gmail.com> <CAJ-VmomgnyUWeA79rT%2BuMkMS3M_sK2_a%2BcajXLM5MWkgXd8_vw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I appreciate that Adrian. xview-clients package compiles fine, but does not run. There are several posts about this problem, a well known problem by the way= . http://physionet.incor.usp.br/physiotools/xview/ Regarding "xvfilemgr", me too, could not get thru configure. But I wonder why. should not be a problem since all libs are available. Maybe it=C2=B4s related to Xorg (XFree86 back then). It would be great to have xvfilemgr, I love that file manager. Regards, Luciano. On 28 November 2014 at 16:24, Adrian Chadd <adrian@freebsd.org> wrote: > I'll take a look at why xview is segfaulting on amd64. Hopefully it's > something stupid. > > As for xvfilemgr - wow, that's a project that hasn't been updated in a > long time. :( I couldn't even get it to finish running configure. > > > > -a > > > On 26 November 2014 at 17:12, Luciano Rottava da Silva > <rottava@gmail.com> wrote: > > Hello, > > > > Just to let you know and for the records, I've managed to run olvwm in > > FreeBSD 10.1 amd64. > > > > Since copying files from a i386 Linux machine was not working out, I've > > decided to compile all packages. > > > > So I did the following: > > > > 1. Setup a jail running a fresh FBSD 10.1 i386. > > 2. Started building ports for xview* and all packages I was interested > to. > > 3. Moved files from jail to my amd64 machine. > > > > After adjusting some env vars, I had the pleasure to run this beautiful > and > > light wm which brings me very good memories from the 90's when I used t= o > > spend some nights in front of Sparc stations. > > > > Now I have an almost 100% funcional working environment. > > > > I am missing only one thing, a xview-based file manager too. Tried to > > compile xvfilemgr but was not successfull. > > > > Question, is there anybody out there also still using ol(v)wm? If so, > could > > you please share with me the binary for xvfilemgr? > > > > And for last, cmdtool and shelltool were built from ports correctly but > are > > not working. Everytime I try to exec them, they complain about "pty's". > > > > [luciano@desktop ~/app32/bin]$ ./shelltool > > All pty's in use > > XView error: NULL pointer passed to xv_set > > > > I guess this version from ports was patched to fix this error, but it > seems > > it is not. > > > > Best Regards, > > Luciano. > > > > On 23 November 2014 at 00:21, Luciano Rottava da Silva < > rottava@gmail.com> > > wrote: > > > >> Someone could please explain what is going on? I am afraid I have no > more > >> ideas. > >> > >> ### binary olvwm from latest i386 FreeBSD package, downloaded and > expanded > >> in a temp dir: > >> > >> root@desktop:/tmp/XVIEW/bin # file olvwm > >> olvwm: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), > >> dynamically linked (uses shared libs), for FreeBSD 9.1, stripped > >> > >> ### checking shared libs dependency: > >> > >> root@desktop:/tmp/XVIEW/bin # ldd olvwm > >> olvwm: > >> libXpm.so.4 =3D> not found (0) > >> libolgx.so.3 =3D> /usr/lib32/libolgx.so.3 (0x280ad000) > >> libXext.so.6 =3D> not found (0) > >> libX11.so.6 =3D> not found (0) > >> libm.so.5 =3D> /usr/lib32/libm.so.5 (0x280bb000) > >> libc.so.7 =3D> /usr/lib32/libc.so.7 (0x280e4000) > >> > >> ### checking if missing libs are known by the system: > >> > >> root@desktop:/tmp/XVIEW/bin # ldconfig -32 -r | head -2 > >> /var/run/ld-elf32.so.hints: > >> search directories: /usr/lib32:/usr/local/lib32/compat > >> > >> ### double checking (the same result for all missing libs): > >> > >> root@desktop:/tmp/XVIEW/bin # file /usr/local/lib32/compat/libXpm.so.4 > >> /usr/local/lib32/compat/libXpm.so.4: ELF 32-bit LSB shared object, Int= el > >> 80386, version 1 (FreeBSD), dynamically linked, not stripped > >> > >> ### RPATH says what? > >> root@desktop:/tmp/XVIEW/bin # readelf -d olvwm > >> > >> Dynamic section at offset 0x44014 contains 26 entries: > >> Tag Type Name/Value > >> 0x00000001 (NEEDED) Shared library: [libXpm.so.4] > >> 0x00000001 (NEEDED) Shared library: [libolgx.so.3= ] > >> 0x00000001 (NEEDED) Shared library: [libXext.so.6= ] > >> 0x00000001 (NEEDED) Shared library: [libX11.so.6] > >> 0x00000001 (NEEDED) Shared library: [libm.so.5] > >> 0x00000001 (NEEDED) Shared library: [libc.so.7] > >> 0x0000000f (RPATH) Library rpath: [/usr/local/li= b] > >> > >> ### trying to change RPATH with below setenv > >> > >> root@desktop:/tmp/XVIEW/bin # cat /root/.cshrc | grep LIBRARY > >> setenv LD_32_LIBRARY_PATH /usr/local/lib32/compat:/usr/lib32 > >> > >> ### no success. )-: > >> > >> root@desktop:/tmp/XVIEW/bin # ./olvwm > >> /usr/local/lib/libXpm.so.4: unsupported file layout > >> > >> > >> What can I do? > >> > >> Thanks in advance, > >> Luciano. > >> > >> > >> On 22 November 2014 at 13:34, Luciano Rottava da Silva < > rottava@gmail.com> > >> wrote: > >> > >>> No chaps, I am not trying to compile xview or olvwm. I am just trying > to > >>> run them - the FreeBSD 32-bit version - on my amd64. > >>> > >>> So I downloaded the binary packages, xview* and olvwm from ftp server= . > >>> > >>> Then untar and now trying to put the 32-bit version of the shared > >>> libraries in the right paths in order to run olvwm. > >>> > >>> root@desktop:/tmp/XVIEW/bin # readelf -d olvwm > >>> > >>> Dynamic section at offset 0x44014 contains 26 entries: > >>> Tag Type Name/Value > >>> 0x00000001 (NEEDED) Shared library: [libXpm.so.4= ] > >>> 0x00000001 (NEEDED) Shared library: [libolgx.so.= 3] > >>> 0x00000001 (NEEDED) Shared library: [libXext.so.= 6] > >>> 0x00000001 (NEEDED) Shared library: [libX11.so.6= ] > >>> 0x00000001 (NEEDED) Shared library: [libm.so.5] > >>> 0x00000001 (NEEDED) Shared library: [libc.so.7] > >>> 0x0000000f (RPATH) Library rpath: > [/usr/local/lib] > >>> > >>> Like I said, problem seems to be related to library path. Readelf > output > >>> shows that, RPATH var env. > >>> > >>> Searching mailing list archive I found this, which is exactly my > problem: > >>> > >>> http://lists.freebsd.org/pipermail/freebsd-stable/2012-May/067787.htm= l > >>> > >>> Question is; how make RPATH search for 32-bit version of libX11, > libXext > >>> and libXpm? > >>> > >>> My .cshrc has a setenv LD_32_LIBRARY_PATH /usr/local/lib32/compat, bu= t > >>> that did not help. > >>> > >>> More ideas? > >>> > >>> Thanks, > >>> Luciano. > >>> > >>> > >>> On 22 November 2014 at 11:21, Bernt Hansson <bah@bananmonarki.se> > wrote: > >>> > >>>> On 2014-11-22 13:45, Bernt Hansson wrote: > >>>> > >>>>> Xview is broken. > >>>>> > >>>>> On 2014-11-22 07:45, Adrian Chadd wrote: > >>>>> > >>>>>> Hm! Well, that doesn't look like it's a problem with a 64 bit syst= em > >>>>>> in particular - see where that .tmpl file is supposed to be? > >>>>>> > >>>>> > >>>> > >>>> :/usr/ports/x11-toolkits/xview # make > >>>> =3D=3D=3D> xview-3.2.1.4.19c_1 depends on executable: mkfontdir - = found > >>>> =3D=3D=3D> xview-3.2.1.4.19c_1 depends on executable: mkfontscale = - found > >>>> ^[ (escape) menu ^y search prompt ^k delete line ^p prev li ^g > >>>> prev page > >>>> make -f Imakefile > >>>> "Imakefile", line 3: Need an operator > >>>> "Imakefile", line 4: Need an operator > >>>> "Imakefile", line 5: Need an operator > >>>> "Imakefile", line 9: Need an operator > >>>> "Imakefile", line 10: Need an operator > >>>> "Imakefile", line 11: Need an operator > >>>> "Imakefile", line 20: Need an operator > >>>> "Imakefile", line 21: Need an operator > >>>> "Imakefile", line 38: Need an operator > >>>> "Imakefile", line 39: Need an operator > >>>> "Imakefile", line 42: Need an operator > >>>> "Imakefile", line 43: Need an operator > >>>> "Imakefile", line 44: Need an operator > >>>> "Imakefile", line 45: Missing dependency operator > >>>> "Imakefile", line 46: Missing dependency operator > >>>> "Imakefile", line 47: Missing dependency operator > >>>> "Imakefile", line 48: Missing dependency operator > >>>> "Imakefile", line 49: Missing dependency operator > >>>> "Imakefile", line 50: Missing dependency operator > >>>> "Imakefile", line 53: Need an operator > >>>> "Imakefile", line 54: Need an operator > >>>> "Imakefile", line 63: Missing dependency operator > >>>> "Imakefile", line 101: Need an operator > >>>> "Imakefile", line 102: Need an operator > >>>> "Imakefile", line 103: Need an operator > >>>> "Imakefile", line 143: Need an operator > >>>> "Imakefile", line 144: Need an operator > >>>> "Imakefile", line 145: Need an operator > >>>> "Imakefile", line 165: Need an operator > >>>> "Imakefile", line 166: Need an operator > >>>> "Imakefile", line 167: Need an operator > >>>> make: fatal errors encountered -- cannot continue > >>>> > >>> > >>> > >> > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGROAxVhhrmPe9zr%2BwwT=HbTWu-EWDTbNbpBTvn-f0re_y=AEQ>