Re: [tor-talk] Problem with ttdnsd-665a534 on Ubuntu 12.04 server

2012-04-29 Thread Gitano
On 2012-04-30 00:01, Ondrej Mikle wrote:

> You're most likely missing some *-dev packages with headers. For example,
> stdio.h would be likely in libc6-dev (installing 'build-essential' package
> should pull in many of the required packages).

You are right, installing 'build-essential' (and its dependencies) did
the job. Thank you very much.



signature.asc
Description: OpenPGP digital signature
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


Re: [tor-talk] Problem with ttdnsd-665a534 on Ubuntu 12.04 server

2012-04-29 Thread Ondrej Mikle
On 04/29/2012 10:38 PM, Gitano wrote:
> ttdnsd-665a534 does not compile on my server Ubuntu 12.04 (kernel
> 3.2.0-24-generic #37-Ubuntu):
> 
> ### root@server:~/ttdnsd-665a534# make install /usr/bin/gcc -g -O2
> -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIE --param
> ssp-buffer-size=1 -Wall -fno-strict-aliasing -W -Wfloat-equal -Wundef
> -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
> -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings
> -Wmissing-declarations -Wredundant-decls -Wnested-externs
> -Wbad-function-cast -Wswitch-enum -Winit-self -Wmissing-field-initializers
> -Wdeclaration-after-statement -Wold-style-definition -Waddress
> -Wmissing-noreturn -Wnormalized=id -Woverride-init -Wstrict-overflow=1
> -Wextra -Warray-bounds -Wstack-protector -Wformat -Wformat-security
> -Wpointer-sign -Werror ttdnsd.c -o ttdnsd -ltsocks -L/usr/lib 
> ttdnsd.c:12:19: schwerwiegender Fehler: stdio.h: Datei oder Verzeichnis 
> nicht gefunden Kompilierung beendet. make: *** [all] Error 1 ###
> 
> What am I missing? On Ubuntu 10.04 desktop it works very well.

You're most likely missing some *-dev packages with headers. For example,
stdio.h would be likely in libc6-dev (installing 'build-essential' package
should pull in many of the required packages).

Ondrej
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


Re: [tor-talk] Problem with ttdnsd-665a534 on Ubuntu 12.04 server

2012-04-29 Thread Robert Ransom
On 2012-04-29, Gitano  wrote:
> ttdnsd-665a534 does not compile on my server Ubuntu 12.04
> (kernel 3.2.0-24-generic #37-Ubuntu):
>
> ###
> root@server:~/ttdnsd-665a534# make install
> /usr/bin/gcc -g -O2  -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv
> -fPIE --param ssp-buffer-size=1 -Wall -fno-strict-aliasing -W
> -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes
> -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts
> -Wcomment -Wformat=2 -Wwrite-strings -Wmissing-declarations
> -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum
> -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement
> -Wold-style-definition -Waddress -Wmissing-noreturn -Wnormalized=id
> -Woverride-init -Wstrict-overflow=1 -Wextra -Warray-bounds
> -Wstack-protector -Wformat -Wformat-security -Wpointer-sign -Werror
> ttdnsd.c -o ttdnsd -ltsocks -L/usr/lib
> ttdnsd.c:12:19: schwerwiegender Fehler: stdio.h: Datei oder Verzeichnis
> nicht gefunden
> Kompilierung beendet.
> make: *** [all] Error 1
> ###
>
> What am I missing? On Ubuntu 10.04 desktop it works very well.

Looks like it's saying “stdio.h: File not found".  (It would be easier
for English-speakers to help you if you ran “export LC_ALL=C” in your
terminal before compiling a program, to tell compilers to use the
POSIX standard ‘locale’.)

‘sudo apt-get install build-essential’ might help.


Robert Ransom
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


Re: [tor-talk] Problem with ttdnsd-665a534 on Ubuntu 12.04 server

2012-04-29 Thread miniBill
Please do an "export LANG=C" to have english error messages
Il giorno 29/apr/2012 22:55, "Gitano"  ha
scritto:

> ttdnsd-665a534 does not compile on my server Ubuntu 12.04
> (kernel 3.2.0-24-generic #37-Ubuntu):
>
> ###
> root@server:~/ttdnsd-665a534# make install
> /usr/bin/gcc -g -O2  -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv
> -fPIE --param ssp-buffer-size=1 -Wall -fno-strict-aliasing -W
> -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes
> -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts
> -Wcomment -Wformat=2 -Wwrite-strings -Wmissing-declarations
> -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum
> -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement
> -Wold-style-definition -Waddress -Wmissing-noreturn -Wnormalized=id
> -Woverride-init -Wstrict-overflow=1 -Wextra -Warray-bounds
> -Wstack-protector -Wformat -Wformat-security -Wpointer-sign -Werror
> ttdnsd.c -o ttdnsd -ltsocks -L/usr/lib
> ttdnsd.c:12:19: schwerwiegender Fehler: stdio.h: Datei oder Verzeichnis
> nicht gefunden
> Kompilierung beendet.
> make: *** [all] Error 1
> ###
>
> What am I missing? On Ubuntu 10.04 desktop it works very well.
>
>
> ___
> tor-talk mailing list
> tor-talk@lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
>
>
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk