Re: Wp8 and Debian 2.1

1999-11-02 Thread Adam Shand

 In addition to that you need a wrapper that rearranges the library path,
 this is the one I use

i've attached a better one which was posted by someone on bugtraq.  it also
solves a couple security issues which are particularly an issue if you're
using wp on a multiuser system.

make sure you set the paths correctly a the bottom of the script.

adam.

#!/bin/bash

# Set $TMPDIR to ~/tmp if the user doesn't already have a TMPDIR variable
if [ ${TMPDIR} =  ]; then
TMPDIR=${HOME}/tmp
export TMPDIR
fi

if [ ! -d ${TMPDIR} ]; then
# Need to make a new directory
TMPDIR_TEST=error
/bin/mkdir ${TMPDIR}  TMPDIR_TEST=ok
if [ ${TMPDIR_TEST} != ok ]; then
echo Unable to create safe tmp directory ${TMPDIR}
exit 1
fi
/bin/chmod o= ${TMPDIR}
fi

# Clear LD_LIBRARY_PATH to prevent reported seg faults
LD_LIBRARY_PATH= 
export LD_LIBRARY_PATH

# Set the PATH and exec the app, passing any command-line args
PATH=${PATH}:/usr/local/wp8/wpbin 
export PATH

exec /usr/local/wp8/wpbin/xwp [EMAIL PROTECTED] 


Re: Wp8 and Debian 2.1

1999-10-28 Thread leckert
NaNoFlaW wrote:
 
 I getting a seg fault when I try to run xwp.
 
 this is the debug info
 Program received signal SIGSEGV, Segmentation fault.
 0x4017026f in strncmp ()
 
 and this is the error message
  3316 Segmentation fault  $Platform/ins/$Exec $Menu $Values $bgcolor
 
 Warning: The graphical install program has failed.
 
 No problems with libs ( i have libc5 installed )
 

I had a simlar problem. The cure was to install xpm4.7 in adittion to
libc5.  Just a suggestion.

Les


Re: Wp8 and Debian 2.1

1999-10-28 Thread Philip Lehman
On Wed, 27 Oct 1999, NaNoFlaW wrote:

I getting a seg fault when I try to run xwp.

this is the debug info
Program received signal SIGSEGV, Segmentation fault.
0x4017026f in strncmp ()

and this is the error message
 3316 Segmentation fault  $Platform/ins/$Exec $Menu $Values $bgcolor

No problems with libs ( i have libc5 installed )

Did you install all of libc5, xlib6 (!= xlib6g), and xpm4.7? In
addition to that you need a wrapper that rearranges the library path,
this is the one I use

#!/bin/sh
source /etc/profile
export 
LD_LIBRARY_PATH=/lib/libc5-compat:/usr/lib/libc5-compat:$LD_LIBRARY_PATH
export LIBRARY_PATH=$LD_LIBRARY_PATH
$WPDIR/wpbin/xwp.bin $@ 

HTH

-- 
Space for hire. Contact Philip Lehman [EMAIL PROTECTED]


Wp8 and Debian 2.1

1999-10-27 Thread NaNoFlaW
I getting a seg fault when I try to run xwp.

this is the debug info
Program received signal SIGSEGV, Segmentation fault.
0x4017026f in strncmp ()

and this is the error message
 3316 Segmentation fault  $Platform/ins/$Exec $Menu $Values $bgcolor

Warning: The graphical install program has failed.


No problems with libs ( i have libc5 installed )

Linux is not my os. It's my religion