Hi kjordan,
I tried again to install "l LessTif-0.94.4" on chroot environment according to;
http://www.linuxfromscratch.org/blfs...x/lesstif.html
Steps performed as follows;
root@localhost:/# cd sources/lesstif-0.94.4
root@localhost:/sources/lesstif-0.94.4# patch -Np1 -i ../lesstif-0.94.4-testsuite_fix-1.patch &&
> ./configure --prefix=/usr --disable-debug \
> --enable-production --with-xdnd &&
> make rootdir=/usr/share/doc/lesstif-0.94.4
Code:
......
make[3]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox/widgets'
Making all in functions
make[3]: Entering directory `/sources/lesstif-0.94.4/doc/lessdox/functions'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox/functions'
make[3]: Entering directory `/sources/lesstif-0.94.4/doc/lessdox'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox'
make[2]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox'
make[2]: Entering directory `/sources/lesstif-0.94.4/doc'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/sources/lesstif-0.94.4/doc'
make[1]: Leaving directory `/sources/lesstif-0.94.4/doc'
Making all in autopackage
make[1]: Entering directory `/sources/lesstif-0.94.4/autopackage'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/sources/lesstif-0.94.4/autopackage'
root@localhost:/sources/lesstif-0.94.4# make rootdir=/usr/share/doc/lesstif-0.94.4 install &&
> mv -v /usr/X11R6/lib/X11/mwm /etc/X11 &&
> ln -v -s ../../../../etc/X11/mwm /usr/X11R6/lib/X11 &&
> ldconfig
Code:
....
make[5]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox/widgets'
make[4]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox/widgets'
make[3]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox/widgets'
Making install in functions
make[3]: Entering directory `/sources/lesstif-0.94.4/doc/lessdox/functions'
make[4]: Entering directory `/sources/lesstif-0.94.4/doc/lessdox/functions'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/doc/lesstif-0.94.4/doc/html" || mkdir -p -- "/usr/share/doc/lesstif-0.94.4/doc/html"
test -z "/usr/man/man5" || mkdir -p -- "/usr/man/man5"
test -z "/usr/man/man1" || mkdir -p -- "/usr/man/man1"
test -z "/usr/man/man3" || mkdir -p -- "/usr/man/man3"
make[4]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox/functions'
make[3]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox/functions'
make[3]: Entering directory `/sources/lesstif-0.94.4/doc/lessdox'
make[4]: Entering directory `/sources/lesstif-0.94.4/doc/lessdox'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox'
make[3]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox'
make[2]: Leaving directory `/sources/lesstif-0.94.4/doc/lessdox'
make[2]: Entering directory `/sources/lesstif-0.94.4/doc'
make[3]: Entering directory `/sources/lesstif-0.94.4/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/doc/lesstif-0.94.4/doc" || mkdir -p -- "/usr/share/doc/lesstif-0.94.4/doc"
/bin/install -c -m 644 'All.html' '/usr/share/doc/lesstif-0.94.4/doc/All.html'
/bin/install -c -m 644 'Clipboard.txt' '/usr/share/doc/lesstif-0.94.4/doc/Clipboard.txt'
/bin/install -c -m 644 'DragAndDrop.txt' '/usr/share/doc/lesstif-0.94.4/doc/DragAndDrop.txt'
/bin/install -c -m 644 'Form.txt' '/usr/share/doc/lesstif-0.94.4/doc/Form.txt'
/bin/install -c -m 644 'GeoUtils.txt' '/usr/share/doc/lesstif-0.94.4/doc/GeoUtils.txt'
/bin/install -c -m 644 'Geometry.html' '/usr/share/doc/lesstif-0.94.4/doc/Geometry.html'
/bin/install -c -m 644 'SyntheticResources.txt' '/usr/share/doc/lesstif-0.94.4/doc/SyntheticResources.txt'
/bin/install -c -m 644 'UIL.txt' '/usr/share/doc/lesstif-0.94.4/doc/UIL.txt'
/bin/install -c -m 644 'XmStrings.txt' '/usr/share/doc/lesstif-0.94.4/doc/XmStrings.txt'
/bin/install -c -m 644 'thread.html' '/usr/share/doc/lesstif-0.94.4/doc/thread.html'
make[3]: Leaving directory `/sources/lesstif-0.94.4/doc'
make[2]: Leaving directory `/sources/lesstif-0.94.4/doc'
make[1]: Leaving directory `/sources/lesstif-0.94.4/doc'
Making install in autopackage
make[1]: Entering directory `/sources/lesstif-0.94.4/autopackage'
make[2]: Entering directory `/sources/lesstif-0.94.4/autopackage'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/lesstif-0.94.4/autopackage'
make[1]: Leaving directory `/sources/lesstif-0.94.4/autopackage'
`/usr/X11R6/lib/X11/mwm' -> `/etc/X11/mwm'
create symbolic link `/usr/X11R6/lib/X11/mwm' to `../../../../etc/X11/mwm'
No warning there !!!
Test performed as follow;
root@localhost:/sources/lesstif-0.94.4# cd test &&
> ./configure &&
> make
Code:
......
gcc -g -I/usr/X11R6/include -o .libs/test2 test2.o ../../../lib/Xm-2.1/.libs/libXm.so -L/usr/X11R6/lib -lSM -lICE -lXft -lXrender -lXp -lXext -lXt -lX11
creating test2
make[3]: Leaving directory `/sources/lesstif-0.94.4/test/Xm-2.1/translations'
make[2]: Leaving directory `/sources/lesstif-0.94.4/test/Xm-2.1'
make[1]: Leaving directory `/sources/lesstif-0.94.4/test'
root@localhost:/sources/lesstif-0.94.4/test#
root@localhost:/sources/lesstif-0.94.4/test# cd Xm &&
> ./testall *
Code:
.....
messagebox/test21 ... failed 1
messagebox/test22 ... failed 1
...
Running tests in misc =================
make: Nothing to be done for `all'.
misc/test1 ... okay
misc/test10 ... ./testall: line 118: 8446 Segmentation fault ./$file -xrm "*geometry:$POSITION" -xrm "*exitDelay:$DELAY" -xrm "*autoExit:True" >/dev/null 2>&1
failed 139
misc/test11 ... failed 255
misc/test12 ... okay
misc/test13 ... ./testall: line 118: 8508 Segmentation fault ./$file -xrm "*geometry:$POSITION" -xrm "*exitDelay:$DELAY" -xrm "*autoExit:True" >/dev/null 2>&1
failed 139
misc/test14 ... okay
misc/test15 ... okay
misc/test16 ... okay
misc/test17 ... failed 1
misc/test18 ... failed 1
misc/test19 ... okay
misc/test2 ... okay
misc/test21 ... failed 1
misc/test22 ... failed 1
misc/test23 ... okay
misc/test3 ... okay
misc/test4 ... okay
..
misc/test8 ... failed 255
misc/test9 ... ./testall: line 118: 8857 Segmentation fault ./$file -xrm "*geometry:$POSITION" -xrm "*exitDelay:$DELAY" -xrm "*autoExit:True" >/dev/null 2>&1
failed 139
Running tests in mwm =================
make: Nothing to be done for `all'.
mwm/test1 ... failed 1
mwm/test2 ... failed 255
mwm/test3 ... failed 255
mwm/test4 ... failed 255
...
Running tests in panedw =================
make: Nothing to be done for `all'.
panedw/test1 ... failed 1
panedw/test10 ... okay
panedw/test2 ... failed 1
panedw/test3 ... failed 1
....
Running tests in protocols =================
make: Nothing to be done for `all'.
protocols/test1 ... failed 1
protocols/test2 ... failed 255
protocols/test3 ... failed 255
protocols/test4 ... failed 255
....
make: Nothing to be done for `all'.
region/test1 ... okay
region/test10 ... failed 1
region/test2 ... okay
....
Running tests in reptype =================
make: Nothing to be done for `all'.
reptype/test1 ... failed 1
Running tests in resconvert =================
make: Nothing to be done for `all'.
resconvert/test1 ... ./testall: line 118: 10189 Segmentation fault ./$file -xrm "*geometry:$POSITION" -xrm "*exitDelay:$DELAY" -xrm "*autoExit:True" >/dev/null 2>&1
failed 139
resconvert/test2 ... failed 255
Running tests in resind =================
make: Nothing to be done for `all'.
resind/test1 ... failed 1
resind/test2 ... failed 1
resind/test3 ... failed 1
resind/test4 ... failed 1
.....
Running tests in scale =================
make: Nothing to be done for `all'.
scale/test1 ... failed 1
scale/test10 ... failed 1
scale/test11 ... failed 1
scale/test12 ... failed 1
......
Running tests in screen =================
make: Nothing to be done for `all'.
screen/test1 ... failed 255
Running tests in scrollbar =================
make: Nothing to be done for `all'.
scrollbar/test1 ... failed 1
scrollbar/test2 ... failed 1
scrollbar/test3 ... failed 1
....
Running tests in scrolledwindow =================
make: Nothing to be done for `all'.
scrolledwindow/test1 ... failed 1
....
scrolledwindow/test9 ... failed 255
Running tests in selectionbox =================
make: Nothing to be done for `all'.
selectionbox/test1 ... failed 1
selectionbox/test10 ... failed 1
selectionbox/test11 ... failed 1
....
Running tests in selections =================
make: Nothing to be done for `all'.
selections/test1 ... failed 255
selections/test2 ... failed 255
Running tests in separator =================
make: Nothing to be done for `all'.
separator/test1 ... failed 1
separator/test2 ... failed 1
Running tests in sepg =================
make: Nothing to be done for `all'.
sepg/test1 ... failed 1
sepg/test2 ... failed 1
Running tests in tearoff =================
make: Nothing to be done for `all'.
tearoff/test1 ... failed 1
tearoff/test2 ... failed 1
tearoff/test3 ... failed 1
Running tests in text =================
make: Nothing to be done for `all'.
text/test1 ... failed 1
text/test10 ... failed 1
.....
Running tests in textf =================
make: Nothing to be done for `all'.
textf/test1 ... failed 1
textf/test10 ... failed 1
textf/test11 ... failed 1
textf/test12 ... failed 1
.....
Running tests in togglebg =================
make: Nothing to be done for `all'.
togglebg/test1 ... failed 1
togglebg/test2 ... failed 1
togglebg/test3 ... failed 255
Running tests in togglebutton =================
make: Nothing to be done for `all'.
togglebutton/test1 ... failed 1
togglebutton/test2 ... failed 1
togglebutton/test3 ... failed 1
....
Running tests in tracking =================
make: Nothing to be done for `all'.
tracking/test1 ... failed 1
Running tests in traversal =================
make: Nothing to be done for `all'.
traversal/test1 ... failed 1
traversal/test2 ... failed 1
....
Running tests in vasimple =================
make: Nothing to be done for `all'.
vasimple/test1 ... failed 1
vasimple/test2 ... failed 1
vasimple/test3 ... failed 1
vasimple/test4 ... failed 1
Running tests in vendor =================
make: Nothing to be done for `all'.
vendor/test1 ... failed 1
vendor/test2 ... failed 1
vendor/test3 ... failed 1
....
Running tests in virtualkeys =================
make: Nothing to be done for `all'.
virtualkeys/test1 ... failed 1
Running tests in xmos =================
make: Nothing to be done for `all'.
xmos/test1 ... okay
xmos/test2 ... okay
xmos/test3 ... okay
xmos/test4 ... okay
xmos/test5 ... okay
xmos/test6 ... okay
xmos/test7 ... okay
Running tests in xmstring =================
make: Nothing to be done for `all'.
xmstring/test1 ... failed 1
xmstring/test2 ... failed 1
....
572 failed out of 603
< means recently pooched
> means recently fixed
2,16d1
< arrowbg/test1 1
< arrowbg/test2 1
...
< arrowbutton/test1 1
< arrowbutton/test2 1
< arrowbutton/test3 1
< arrowbutton/test4 1
< baseclass/test1 1
< baseclass/test2 1
...
18,23d2
< bulletinboard/test10 1
< bulletinboard/test11 1
...
25d3
< bulletinboard/test3 1
27,32d4
< bulletinboard/test5 1
< bulletinboard/test6 1
....
---
> cascadebuttong/test3 78
45,46d8
< cascadebuttong/test5 1
< cascadebuttong/test6 1
48,76d9
< command/test1 1
< command/test2 1
< command/test3 1
< cutpaste/test1 1
< cutpaste/test2 1
< cutpaste/test3 1
< cutpaste/test4 1
< dialogs/test1 1
< dialogs/test2 1
< drag_drop/test1 1
< drag_drop/test2 1
< drag_drop/test3 1
< drag_drop/test4 1
< drag_help/test1 255
< drag_icon/test1 255
< drag_move/test1 255
< drag_pixmaps/test1 255
< drag_simple/test1 255
< drawingarea/test1 1
< drawingarea/test10 1
< drawingarea/test2 1
....
< extobj/test1 1
< extobj/test2 1
---
> drawnbutton/test6 78
92,99c14
< filesb/test11 1
< filesb/test12 1
....
---
---
> filesb/test4 1
< list/test15 1
---
---
..
---
> reptype/test1 2
..
---
> rowcolumn/test63 2
416,447c71
< rowcolumn/test7 1
...
---
> scale/test17 78
---
> selectionbox/test9 145
---
...
---
> textf/test17 139
...
< togglebutton/test8 1
---
> togglebg/test2 78
...
< xmstring/test9 1
---
> xmstring/test8 139
root@localhost:/sources/lesstif-0.94.4/test/Xm#
It seems the steps on the book worked on chroot?
B.R.
satimis