HOWTO configure Hiawatha web server on my fritz box 7170?

Hello M66B, Hello sf3978,

What do I have to do in order to get the following result on my freetz box:

Code:
[root@host jeffy]# /usr/local/sbin/hiawatha -v
Hiawatha v7.4.1, cache, IPv6, Monitor, SSL, URL toolkit, XSLT
Copyright (C) by Hugo Leisink <[email protected]>

At the moment I get this on my freetz box:

Code:
root@fritz:/var/mod/root# /usr/bin/hiawatha -v
Hiawatha v7.4.1
Copyright (C) by Hugo Leisink <[email protected]>

I unsuccessfully tried to edit file

Code:
freetz-trunk/make/hiawatha/hiawatha.mk

from

Code:
$(PKG)_CONFIGURE_OPTIONS += --disable-cache
$(PKG)_CONFIGURE_OPTIONS += --disable-largefile
$(PKG)_CONFIGURE_OPTIONS += --disable-ipv6
$(PKG)_CONFIGURE_OPTIONS += --disable-ssl
$(PKG)_CONFIGURE_OPTIONS += --disable-toolkit
$(PKG)_CONFIGURE_OPTIONS += --disable-xslt
$(PKG)_CONFIGURE_OPTIONS += --disable-monitor

to

Code:
#$(PKG)_CONFIGURE_OPTIONS += --disable-cache
$(PKG)_CONFIGURE_OPTIONS += --disable-largefile
#$(PKG)_CONFIGURE_OPTIONS += --disable-ipv6
#$(PKG)_CONFIGURE_OPTIONS += --disable-ssl
#$(PKG)_CONFIGURE_OPTIONS += --disable-toolkit
#$(PKG)_CONFIGURE_OPTIONS += --disable-xslt
#$(PKG)_CONFIGURE_OPTIONS += --disable-monitor

because you need to remove --disable-toolkit for example during mipsel-linux-uclibc compilation in order to have URL toolkit support.

The binary file

Code:
freetz-trunk/packages/target-mipsel_uClibc-0.9.29/hiawatha-7.4.1/root/usr/bin/hiawatha

remains always the same size that might indicate an increased set of functions (my required URL toolkit support).


According to my first thread entry I have not yet updated my current freetz configuration with the new patch.

Do you have any ideas how to compile hiawatha for my freetz box with URL toolkit support?

Thank you for your help!!
 
Zuletzt bearbeitet:
Code:
[root@host jeffy]# /usr/local/sbin/hiawatha -v
Hiawatha v7.4.1, cache, IPv6, Monitor, SSL, URL toolkit, XSLT
Copyright (C) by Hugo Leisink <[email protected]>
Code:
$(PKG)_DEPENDS_ON := openssl zlib [COLOR=red]xsltproc[/COLOR]
#
$(PKG)_CONFIGURE_OPTIONS += --enable-cache
$(PKG)_CONFIGURE_OPTIONS += --disable-largefile
$(PKG)_CONFIGURE_OPTIONS += --enable-ipv6
$(PKG)_CONFIGURE_OPTIONS += --enable-ssl
$(PKG)_CONFIGURE_OPTIONS += --enable-toolkit
[COLOR=red]$(PKG)_CONFIGURE_OPTIONS += --enable-xslt[/COLOR]
$(PKG)_CONFIGURE_OPTIONS += --enable-monitor
Code:
root@fritz:/var/media/ftp/uStor01/archiv# ldd ./hiawatha
        libcrypt.so.0 => /lib/libcrypt.so.0 (0x2aabe000)
        libssl.so.0.9.8 => /usr/lib/freetz/libssl.so.0.9.8 (0x2aae2000)
        libcrypto.so.0.9.8 => /usr/lib/freetz/libcrypto.so.0.9.8 (0x2ab2e000)
        libz.so.1 => /usr/lib/freetz/libz.so.1 (0x2ac3f000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ac62000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2ac80000)
        libc.so.0 => /lib/libc.so.0 (0x2aca3000)
        libdl.so.0 => /lib/libdl.so.0 (0x2ad1e000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
Code:
root@fritz:/var/media/ftp/uStor01/archiv# ./hiawatha -v
Hiawatha v7.5, [COLOR=red]cache, chroot, CommandChannel, IPv6, Monitor, SSL, URL toolkit[/COLOR]
Copyright (C) by Hugo Leisink <[email protected]>
At the moment xsltproc doesn't compile properly on Freetz:
Code:
./libxslt/.libs/libxslt.so: undefined reference to `htmlNewDocNoDtD'
../libxslt/.libs/libxslt.so: undefined reference to `htmlDocContentDumpFormatOutput'
../libxslt/.libs/libxslt.so: undefined reference to `htmlNewDoc'
../libxslt/.libs/libxslt.so: undefined reference to `htmlDocContentDumpOutput'
../libxslt/.libs/libxslt.so: undefined reference to `htmlSetMetaEncoding'
collect2: ld returned 1 exit status
make[3]: *** [testThreads] Fehler 1
So we have to wait till ...

EDIT:

Please try this patch for hiawatha-7.6.
 

Anhänge

Zuletzt bearbeitet:
If you select xsltproc in menuconfig then it should work? A "make xsltproc" without this selection doesn't build libxml2 with html support.

Gruß
Oliver
 
Kostenlos!

Statistik des Forums

Themen
248,878
Beiträge
2,303,777
Mitglieder
378,546
Neuestes Mitglied
Looki_Luzi