Christian Ebert
2006-08-07 13:27:55 UTC
Hello,
Has anybody successfully compiled slang2 with UTF-8 support on
MacOS X? I recently switch to UTF locale and want to build the
slrn preview against slang2.
Here, on MacOS 10.3.9 I seem to be able to build the dynamic
libraries in the src dir, but I can't get through to the utf
module. make elf in the top dir stalls always at slsh with:
$ tail -n20 slang_make.log
libslang.2.0.7.dylib created in /Users/chris/src/slang/src/elfobjs.
The link libslang.dylib to libslang.2.0.7.dylib was also created.
cd slsh; make all
cp ../src/config.h .
gcc -c -I/sw/include -I/Users/chris/src/slang/src -DSLSH_CONF_DIR='"/usr/local/etc"' -DSLSH_PATH='"/usr/local/share/slsh"' -DSLSH_CONF_DIR_ENV='"SLSH_CONF_DIR"' -DSLSH_LIB_DIR_ENV='"SLSH_LIB_DIR"' -DSLSH_PATH_ENV='"SLSH_PATH"' slsh.c
gcc -c -I/sw/include -I/Users/chris/src/slang/src -DSLSH_CONF_DIR='"/usr/local/etc"' -DSLSH_PATH='"/usr/local/share/slsh"' -DSLSH_CONF_DIR_ENV='"SLSH_CONF_DIR"' -DSLSH_LIB_DIR_ENV='"SLSH_LIB_DIR"' -DSLSH_PATH_ENV='"SLSH_PATH"' -DUSE_GNU_READLINE=0 readline.c
readline.c: In function `open_readline':
readline.c:197: warning: assignment makes pointer from integer without a cast
readline.c: In function `read_input_line':
readline.c:284: warning: assignment makes pointer from integer without a cast
readline.c: In function `get_input_line':
readline.c:363: error: `SL_RunTime_Error' undeclared (first use in this function)
readline.c:363: error: (Each undeclared identifier is reported only once
readline.c:363: error: for each function it appears in.)
readline.c: In function `readline_intrinsic_internal':
readline.c:555: warning: assignment makes pointer from integer without a cast
make[1]: *** [readline.o] Error 1
make: *** [elf] Error 2
I get more or less the same error with --with-readline=gnu.
It is the same with slang-2.0.6 or slang svn-r34.
I can build slrn with the dylibs but appararently they are not
recognized, or only halfway: with latest cvs HEAD of slrn the
umlauts (ä, ö etc.) are displayed correctly, but it fails on "ß"
(sz lig) already. And slrn -V says it has slang-1.4?
Any help or pointers are appreciated.
c
Has anybody successfully compiled slang2 with UTF-8 support on
MacOS X? I recently switch to UTF locale and want to build the
slrn preview against slang2.
Here, on MacOS 10.3.9 I seem to be able to build the dynamic
libraries in the src dir, but I can't get through to the utf
module. make elf in the top dir stalls always at slsh with:
$ tail -n20 slang_make.log
libslang.2.0.7.dylib created in /Users/chris/src/slang/src/elfobjs.
The link libslang.dylib to libslang.2.0.7.dylib was also created.
cd slsh; make all
cp ../src/config.h .
gcc -c -I/sw/include -I/Users/chris/src/slang/src -DSLSH_CONF_DIR='"/usr/local/etc"' -DSLSH_PATH='"/usr/local/share/slsh"' -DSLSH_CONF_DIR_ENV='"SLSH_CONF_DIR"' -DSLSH_LIB_DIR_ENV='"SLSH_LIB_DIR"' -DSLSH_PATH_ENV='"SLSH_PATH"' slsh.c
gcc -c -I/sw/include -I/Users/chris/src/slang/src -DSLSH_CONF_DIR='"/usr/local/etc"' -DSLSH_PATH='"/usr/local/share/slsh"' -DSLSH_CONF_DIR_ENV='"SLSH_CONF_DIR"' -DSLSH_LIB_DIR_ENV='"SLSH_LIB_DIR"' -DSLSH_PATH_ENV='"SLSH_PATH"' -DUSE_GNU_READLINE=0 readline.c
readline.c: In function `open_readline':
readline.c:197: warning: assignment makes pointer from integer without a cast
readline.c: In function `read_input_line':
readline.c:284: warning: assignment makes pointer from integer without a cast
readline.c: In function `get_input_line':
readline.c:363: error: `SL_RunTime_Error' undeclared (first use in this function)
readline.c:363: error: (Each undeclared identifier is reported only once
readline.c:363: error: for each function it appears in.)
readline.c: In function `readline_intrinsic_internal':
readline.c:555: warning: assignment makes pointer from integer without a cast
make[1]: *** [readline.o] Error 1
make: *** [elf] Error 2
I get more or less the same error with --with-readline=gnu.
It is the same with slang-2.0.6 or slang svn-r34.
I can build slrn with the dylibs but appararently they are not
recognized, or only halfway: with latest cvs HEAD of slrn the
umlauts (ä, ö etc.) are displayed correctly, but it fails on "ß"
(sz lig) already. And slrn -V says it has slang-1.4?
Any help or pointers are appreciated.
c
--
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>