On Nov 27, 2008, at 11:07 PM, Gary K Olson wrote:
> On Nov 27, 2008, at 1:54 PM, Alexander Hansen wrote:
>>
>> On Nov 27, 2008, at 3:13 PM, Gary K Olson wrote:
>>
>>> I had koctave working on my ibook, but know when I load it I get the
>>> following fatal error message with:
>>>
>>> Konsole is unable to open a PTY (pseudo teletype). It is likely
>>> that
>>> this is due to an incorrect configuration of the PTY devices.
>>> Konsole
>>> needs to have read/write access to the PTY devices.
>>>
>>> Koctave then quits when I click ok on the error dialog window. Of
>>> course I can use octave from the command line, but I would like to
>>> get
>>> to the bottom of this. Does anyone know what I need to do to fix
>>> this? Perhaps it is some config file, or do I need to reinstall
>>> something? Konsole runs fine by itself.
>>>
>>> The only thing I know that happened on my ibook between koctave
>>> working and then this error message is that pth2-dev-2.0.7-1021
>>> hangs
>>> when it began the first test. I closed Terminal, removed the fink-
>>> buildlock, restarted my machine in case something was wrong in
>>> memory, and tried to install pth2-shlibs and pth2-dev again. The
>>> terminal again was hung during first test. I don't have a crash log
>>> as I had to close Terminal again.
>>
>> fink -l build <packagenames> generates build log files in /tmp
>>
>>> I still have the /sw/scr/fink.build
>>> file though. Does anyone have any idea why compiling and installing
>>> this could be a problem?
>>
>> It's not directly related, since you'd still be using the prior
>> version of pth2* until a new one is actually installed after a
>> successful build.
>>
>>> By the way, I had not problem installing
>>> these files on my iMac G5. Thanks for the help.
>>>
>>> My kit consists of:
>>>
>>> Package manager version: 0.28.6
>>> Distribution version: selfupdate-rsync Wed Nov 26 10:06:22 2008,
>>> 10.5,
>>> powerpc
>>> OSX 10.5.5
>>> XTools 3.11
>>> powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
>>>
>>> Gary K Olson
>>>
>>
>> The combination of the two errors sounds to me like something is
>> awry with how your system is allocating PTYs. Try logging a build
>> of pth2 so that we can see the message.
>>
>
I did a build with a build log to /tmp. The build of course failed.
The computer first establishes a buildlock for pth2-dev, begins
checking, runs make to compile some pth files, then compiles some test
files, and then tests basic operation but stops after initializing Pth
system. By the way, this is a new installation, and I do not have any
pth2 files that have been installed prior to these. Here is build log:
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-pth2-
dev-2.0.7-1021 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-pth2-dev-2.0.7-1021' in `/
sw/src/fink.build/fink-buildlock-pth2-
dev-2.0.7-1021_2008.11.27-22.01.54_darwin-powerpc.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-pth2-
dev-2.0.7-1021_2008.11.27-22.01.54_darwin-powerpc.deb
Selecting previously deselected package fink-buildlock-pth2-
dev-2.0.7-1021.
(Reading database ... 233709 files and directories currently installed.)
Unpacking fink-buildlock-pth2-dev-2.0.7-1021 (from .../fink-buildlock-
pth2-dev-2.0.7-1021_2008.11.27-22.01.54_darwin-powerpc.deb) ...
Setting up fink-buildlock-pth2-dev-2.0.7-1021 (2008.11.27-22.01.54) ...
gzip -dc /sw/src/pth-2.0.7.tar.gz | /sw/bin/tar -xf - --no-same-owner
--no-same-permissions
/var/tmp/tmp.1.Nj9Jg0
+ export CC=/usr/bin/gcc
+ CC=/usr/bin/gcc
+ export CXX=/usr/bin/g++
+ CXX=/usr/bin/g++
+ ./configure --prefix=/sw '--mandir=${prefix}/share/man' --disable-
pthread
Configuring [1mGNU Pth[m (Portable Threads), Version [1m2.0.7 (08-
Jun-2006)[m
Copyright (c) 1999-2006 Ralf S. Engelschall <[EMAIL PROTECTED]>
Platform: [1mpowerpc-apple-darwin9.5.0[m
[1mBuild Tools:[m
checking for gcc... /usr/bin/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for egrep... grep -E
checking whether make sets $(MAKE)... yes
checking for compiler option -pipe... yes
checking for compilation debug mode... disabled
checking for compilation profile mode... disabled
checking for compilation optimization mode... disabled
checking build system type... powerpc-apple-darwin9.5.0
checking host system type... powerpc-apple-darwin9.5.0
checking for a sed that does not truncate output... /sw/bin/sed
checking for ld used by /usr/bin/gcc... /usr/libexec/gcc/powerpc-apple-
darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/
ld) is GNU ld... no
checking for /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld option to
reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++ accepts -g... yes
checking how to run the C++ preprocessor... /usr/bin/g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from /usr/bin/gcc
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc option to produce PIC... -fno-common
checking if /usr/bin/gcc PIC flag -fno-common works... yes
checking if /usr/bin/gcc static flag -static works... no
checking if /usr/bin/gcc supports -c -o file.o... yes
checking whether the /usr/bin/gcc linker (/usr/libexec/gcc/powerpc-
apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
rm: cannot remove `conftest.dSYM': Is a directory
checking for ld used by /usr/bin/g++... /usr/libexec/gcc/powerpc-apple-
darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/
ld) is GNU ld... no
checking whether the /usr/bin/g++ linker (/usr/libexec/gcc/powerpc-
apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking for /usr/bin/g++ option to produce PIC... -fno-common
checking if /usr/bin/g++ PIC flag -fno-common works... rm: cannot
remove `conftest.dSYM': Is a directory
yes
checking if /usr/bin/g++ static flag -static works... rm: cannot
remove `conftest.dSYM': Is a directory
no
checking if /usr/bin/g++ supports -c -o file.o... rm: cannot remove
`conftest.dSYM': Is a directory
yes
checking whether the /usr/bin/g++ linker (/usr/libexec/gcc/powerpc-
apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.5.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
rm: cannot remove `conftest.dSYM': Is a directory
rm: cannot remove `conftest.dSYM': Is a directory
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fno-common
checking if g77 PIC flag -fno-common works... rm: cannot remove
`conftest.dSYM': Is a directory
yes
checking if g77 static flag -static works... rm: cannot remove
`conftest.dSYM': Is a directory
no
checking if g77 supports -c -o file.o... rm: cannot remove
`conftest.dSYM': Is a directory
yes
checking whether the g77 linker (/usr/libexec/gcc/powerpc-apple-
darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.5.0 dyld
checking how to hardcode library paths into programs... immediate
[1mMandatory Platform Environment:[m
checking for ANSI C header files... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for sys/stat.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for gettimeofday... yes
checking for select... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigpending... yes
checking for sigsuspend... yes
decision on mandatory system headers and functions... [1mall fine[m
[1mOptional Platform Environment:[m
checking for number of signals... 32
checking for default value of FD_SETSIZE... 1024
checking for poll... yes
checking for define POLLIN in poll.h... rm: cannot remove
`conftest.dSYM': Is a directory
yes
checking whether poll(2) facility has to be faked... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for readv... yes
checking for writev... yes
checking whether readv(2)/writev(2) facility has to be faked... no
checking for usleep... yes
checking for strerror... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for gethostname in -lnsl... no
checking for gethostbyname in -lnsl... no
checking for accept in -lsocket... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for typedef sig_atomic_t... rm: cannot remove
`conftest.dSYM': Is a directory
yes
checking for typedef pid_t... rm: cannot remove `conftest.dSYM': Is a
directory
yes
checking for typedef size_t... rm: cannot remove `conftest.dSYM': Is a
directory
yes
checking for typedef ssize_t... rm: cannot remove `conftest.dSYM': Is
a directory
yes
checking for typedef off_t... rm: cannot remove `conftest.dSYM': Is a
directory
yes
checking for typedef stack_t... rm: cannot remove `conftest.dSYM': Is
a directory
yes
checking for attribute ss_base in struct sigaltstack from sys/
signal.h... no
checking for attribute ss_sp in struct sigaltstack from sys/
signal.h... no
checking for a single-argument based gettimeofday... no
checking for struct timespec... yes
checking for typedef socklen_t... rm: cannot remove `conftest.dSYM':
Is a directory
yes
checking for type of argument 3 for accept()... rm: cannot remove
`conftest.dSYM': Is a directory
socklen_t *
checking for fallback socklen_t... socklen_t
checking for typedef nfds_t... rm: cannot remove `conftest.dSYM': Is a
directory
yes
checking for type of argument 2 for poll()... rm: cannot remove
`conftest.dSYM': Is a directory
nfds_t
checking for fallback nfds_t... nfds_t
checking for built-in type long long... yes
checking for built-in type long double... yes
[1mMachine Context Implementation:[m
checking for ucontext.h... yes
checking for makecontext... yes
checking for swapcontext... yes
checking for getcontext... yes
checking for setcontext... yes
checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... yes
checking for signal.h... (cached) yes
checking for sigsetjmp... yes
checking for siglongjmp... yes
checking for setjmp... yes
checking for longjmp... yes
checking for _setjmp... yes
checking for _longjmp... yes
checking for sigaltstack... yes
checking for sigstack... no
checking for signal-mask aware setjmp(3)/longjmp(3)... yes: ssjlj
checking for typedef stack_t... (cached) yes
checking for direction of stack growth... down
checking for makecontext... (cached) yes
checking for stack setup via makecontext... ok
checking for sigaltstack... (cached) yes
checking for typedef stack_t... (cached) yes
checking for stack setup via sigaltstack... ok
checking for sigstack... (cached) no
checking for stack setup via sigstack... N.A.
decision on mctx implementation... [1mmcsc/sc/mc[m
[1mSystem Call Mapping:[m
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/socketcall.h usability... no
checking sys/socketcall.h presence... no
checking for sys/socketcall.h... no
checking for syscall... yes
checking for define SYS_read in sys/syscall.h... rm: cannot remove
`conftest.dSYM': Is a directory
yes
checking for dlfcn.h... (cached) yes
checking for dlsym in -ldl... yes
checking for dlopen... yes
checking for dlsym... yes
checking for dlclose... yes
checking for define RTLD_NEXT in dlfcn.h... rm: cannot remove
`conftest.dSYM': Is a directory
yes
checking for syscall dynamic libraries...
checking whether soft system call mapping is used... no
checking whether hard system call mapping is used... no
[1mBuild Parameters:[m
checking whether to activate batch build mode... no
checking whether to activate maintainer build targets... no
checking whether to activate test build targets... yes
checking whether to build Pthread library... no
checking whether to build against external OSSP ex library... no
checking whether to build against external Sfio library... no
checking whether to build against external Dmalloc library... no
[1mOutput Substitution:[m
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pthread-config
config.status: creating pthread.h
config.status: creating pth-config
config.status: creating pth.h
config.status: creating pth_acmac.h
config.status: creating pth_acdef.h
config.status: executing default commands
Now please type `[1mmake[m' to compile. Good luck.
+ make
./shtool scpp -o pth_p.h -t pth_p.h.in -Dcpp -Cintern -M '==#=='
pth_compat.c pth_debug.c pth_syscall.c pth_errno.c pth_ring.c
pth_mctx.c pth_uctx.c pth_clean.c pth_time.c pth_tcb.c pth_util.c
pth_pqueue.c pth_event.c pth_sched.c pth_data.c pth_msg.c pth_cancel.c
pth_sync.c pth_attr.c pth_lib.c pth_fork.c pth_high.c pth_ext.c
pth_string.c pthread.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_debug.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_ring.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_pqueue.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_time.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_errno.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_mctx.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_uctx.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_tcb.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_sched.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_attr.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_lib.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_event.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_data.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_clean.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_cancel.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_msg.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_sync.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_fork.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_util.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_high.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_syscall.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_ext.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_compat.c
./libtool --mode=compile --quiet /usr/bin/gcc -c -I/sw/include -I. -O2
-pipe pth_string.c
./libtool --mode=link --quiet /usr/bin/gcc -o libpth.la pth_debug.lo
pth_ring.lo pth_pqueue.lo pth_time.lo pth_errno.lo pth_mctx.lo
pth_uctx.lo pth_tcb.lo pth_sched.lo pth_attr.lo pth_lib.lo
pth_event.lo pth_data.lo pth_clean.lo pth_cancel.lo pth_msg.lo
pth_sync.lo pth_fork.lo pth_util.lo pth_high.lo pth_syscall.lo
pth_ext.lo pth_compat.lo pth_string.lo \
-rpath /sw/lib -version-info `./shtool version -lc -dlibtool
pth_vers.c`
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_std.c
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_common.c
./libtool --mode=link --quiet /usr/bin/gcc -L/sw/lib -o test_std
test_std.o test_common.o libpth.la -ldl
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_mp.c
./libtool --mode=link --quiet /usr/bin/gcc -L/sw/lib -o test_mp
test_mp.o test_common.o libpth.la -ldl
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_misc.c
./libtool --mode=link --quiet /usr/bin/gcc -L/sw/lib -o test_misc
test_misc.o test_common.o libpth.la -ldl
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_philo.c
./libtool --mode=link --quiet /usr/bin/gcc -L/sw/lib -o test_philo
test_philo.o test_common.o libpth.la -ldl
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_sig.c
./libtool --mode=link --quiet /usr/bin/gcc -L/sw/lib -o test_sig
test_sig.o test_common.o libpth.la -ldl
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_select.c
./libtool --mode=link --quiet /usr/bin/gcc -L/sw/lib -o test_select
test_select.o test_common.o libpth.la -ldl
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_httpd.c
./libtool --mode=link --quiet /usr/bin/gcc -L/sw/lib -o test_httpd
test_httpd.o test_common.o libpth.la -ldl
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_sfio.c
./libtool --mode=link --quiet /usr/bin/gcc -L/sw/lib -o test_sfio
test_sfio.o test_common.o libpth.la -ldl
/usr/bin/gcc -c -I/sw/include -I. -O2 -pipe test_uctx.c
./libtool --mode=link --quiet /usr/bin/gcc -L/sw/lib -o test_uctx
test_uctx.o test_common.o libpth.la -ldl
Now please type `[1mmake test[m' to run a quick test suite. Hope it
works.
+ make test
=== TESTING GLOBAL LIBRARY API ===
Fetching library version
version = 0x200207
=== TESTING BASIC OPERATION ===
Initializing Pth system (spawns scheduler and main thread)
I am sorry that the build log is so long, but I thought I should send
you the whole log.
Hope this is some help.
Gary K Olson
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users