[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: Tux not reading MIME types



Hi everyone,

Viktors Rotanovs wrote:
> 1) check if your TUX startup script matches tux-* version and that it
> really starts the way you want

the script is taken from the 2.x utilities, but I think it should work fine.

> 2) probably this is caused by version mismatch between kernel tux
> patch and tux-* package (maybe 2.x package and 3.0 in kernel etc.) -
> beware - it's impossible to tell version of kernel tux from looking
> at HTTP headers, but if you're using kernel 2.6, then it's tux 3.0,
> and on that
> 2.4 machine chances are that it's tux 2.2. Also check that "tux"
> binary can load all required libraries - change to directory
> containing "tux" then run "ldd tux".


As I said, I was trying to get the latest tux/tux2w3c binaries, but they
don't compile:

# emerge www-servers/tux
[emerge]
gcc -march=pentium3 -O3 -pipe -Wall -I. -DINTERFACE_VERSION=3 -D_LARGEFILE64
_SOURCE  -o tux2w3c tux2w3c.c
gcc -march=pentium3 -O3 -pipe -Wall -I. -DINTERFACE_VERSION=3 -D_LARGEFILE64
_SOURCE  -o tuxstat tuxstat.c
[demos]
demo6.c: In function `TUXAPI_handle_events':
demo6.c:37: warning: assignment makes integer from pointer without a cast
demo6.c:40: warning: assignment makes integer from pointer without a cast
demo6.c:59: warning: deprecated use of label at end of compound statement
demo5.c: In function `TUXAPI_handle_events':
demo5.c:25: warning: assignment makes integer from pointer without a cast
make -C docs all
make[1]: Entering directory
`/var/tmp/portage/tux-3.2.16/work/tux-3.2.16/docs'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
rule.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/tux-3.2.16/work/tux-3.2.16/docs'
make: pkg-config: Command not found
gcc -march=pentium3 -O3 -pipe -Wall -I. -DINTERFACE_VERSION=3 -D_LARGEFILE64
_SOURCE   -c tux.c
[demos]
tux.c:23:18: glib.h: No such file or directory
tux.c: In function `handle_all_events':
tux.c:51: error: can't find a register in class `BREG' while reloading `asm'
tux.c:51: error: can't find a register in class `BREG' while reloading `asm'
tux.c:51: error: can't find a register in class `BREG' while reloading `asm'
tux.c: In function `initialize_mimetypes':
tux.c:169: error: `GHashTable' undeclared (first use in this function)
tux.c:169: error: (Each undeclared identifier is reported only once
tux.c:169: error: for each function it appears in.)
tux.c:169: error: `exts' undeclared (first use in this function)
tux.c:175: warning: implicit declaration of function `g_hash_table_new'
tux.c:175: error: `g_str_hash' undeclared (first use in this function)
tux.c:175: error: `g_str_equal' undeclared (first use in this function)
tux.c:239: warning: implicit declaration of function `g_hash_table_lookup'
tux.c:240: warning: implicit declaration of function `g_hash_table_insert'
tux.c:257: warning: implicit declaration of function `g_hash_table_destroy'
make: *** [tux.o] Error 1

!!! ERROR: www-servers/tux-3.2.16 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)

Is this error known? Could someone send me the binaries for version 3(x86,
P3)?

ldd tux says:

# ldd tux
        linux-gate.so.1 =>  (0xffffe000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x40018000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40020000)
        libdl.so.2 => /lib/libdl.so.2 (0x4004d000)
        libc.so.6 => /lib/libc.so.6 (0x40050000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Thanks,

Johann




[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net