1

Добрый день.
Пишу в этой теме, потому что больше ничего подходящего не нашёл, sorry если что.

Я работаю в KDE. Мне надо запускать программу с ярлыка с правами рут, но только после ввода пароля пользователя.

Пока что делаю так. Создал ярлык для программы (например kwrite), в свойствах ярлыка на вкладке Приложение в поле команда написал "sudo kwrite". на этой же вкладке в дополнительных параметрах поставил галку "выполнять в терминале"

Всё. Теперь кликаю на ярлык он открывает консоль, ввожу пароль user'а и появляется программа.

Но такой способ неудобный тем что на столе висит ешё и окно консоли.
А если запускать таким способом например remmina то есть ещё одна неприятная мелочь. После закрытия окна remmina остаётся консоль.

Может ещё есть какие-то варианты запуска?

2 (23.03.2012 11:05:56 отредактировано verg)

zRPG,
Так например: http://linuxforum.ru/viewtopic.php?id=21013
(хотя проект ещё в разработке)

Или так(вариант получше возможно): http://kde-apps.org/content/show.php?content=48411
Вот пакет от мандривы http://mib.pianetalinux.org/MIB/2011.0/ … noarch.rpm
Спокойно можно при помощи alien сконвертировать в deb (пакет простой)

пользуйте kdesudo вместо судо...

4

zRPG пишет:

на этой же вкладке в дополнительных параметрах поставил галку "выполнять в терминале"

Это обязательно?

Был, был и весь вышел...

5 (23.03.2012 11:31:08 отредактировано verg)

Lupo Alberto пишет:
zRPG пишет:

на этой же вкладке в дополнительных параметрах поставил галку "выполнять в терминале"

Это обязательно?

Таки нет и это решение проблемы zRPG =)

Но от rootactions тоже не стоит отказываться, запускается то же kdesu/sudo, при этом можно открывать сразу файл в файловом менеджере.

6

verg пишет:

Таки нет и это решение проблемы zRPG =)

Если не ставить галку, то окно консоли не появится и некуда будет вводить пароль пользователя
Тоже самое произойдёт если изменить поле "программа" на
sudo kwrite &

Предположу что у вас получилось из-за того что вы не сросили сеанс sudo
попробуйте сперва sudo -k
а потом проверить

7 (23.03.2012 13:26:25 отредактировано verg)

zRPG,
Просто сделал так:
http://storage5.static.itmages.ru/i/12/0323/s_1332494771_1151311_4b50aa9d8f.png
Больше ничего.

8

я говорил про команду sudo.
kdesu не подходит так как просит пароль рута, а не пользователя
Думаю что kdesudo подойдёт.
Сейчас пробую его собрать. Застрял на configure

checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = computer
uname -m = x86_64
uname -r = 3.2.10-3.fc16.x86_64
uname -s = Linux
uname -v = #1 SMP Thu Mar 15 19:39:46 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/NX/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /home/pro/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1433: checking build system type
configure:1451: result: x86_64-unknown-linux-gnu
configure:1461: checking host system type
configure:1475: result: x86_64-unknown-linux-gnu
configure:1485: checking target system type
configure:1499: result: x86_64-unknown-linux-gnu
configure:1548: checking for a BSD-compatible install
configure:1602: result: /usr/bin/install -c
configure:1617: checking for -p flag to install
configure:1630: result: yes
configure:1641: checking whether build environment is sane
configure:1684: result: yes
configure:1704: checking for gawk
configure:1720: found /usr/bin/gawk
configure:1730: result: gawk
configure:1740: checking whether make sets ${MAKE}
configure:1760: result: yes
configure:1966: checking for style of include used by make
configure:1994: result: GNU
configure:2141: checking for gcc
configure:2157: found /usr/bin/gcc
configure:2167: result: gcc
configure:2411: checking for C compiler version
configure:2414: gcc --version </dev/null >&5
gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2417: $? = 0
configure:2419: gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.6.3/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) 
configure:2422: $? = 0
configure:2424: gcc -V </dev/null >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2427: $? = 4
configure:2453: checking for C compiler default output
configure:2456: gcc     conftest.c  >&5
configure:2459: $? = 0
configure:2492: result: a.out
configure:2497: checking whether the C compiler works
configure:2503: ./a.out
configure:2506: $? = 0
configure:2521: result: yes
configure:2528: checking whether we are cross compiling
configure:2530: result: no
configure:2533: checking for suffix of executables
configure:2535: gcc -o conftest     conftest.c  >&5
configure:2538: $? = 0
configure:2560: result: 
configure:2566: checking for suffix of object files
configure:2590: gcc -c    conftest.c >&5
configure:2593: $? = 0
configure:2612: result: o
configure:2616: checking whether we are using the GNU C compiler
configure:2643: gcc -c    conftest.c >&5
configure:2646: $? = 0
configure:2649: test -s conftest.o
configure:2652: $? = 0
configure:2664: result: yes
configure:2670: checking whether gcc accepts -g
configure:2694: gcc -c -g  conftest.c >&5
configure:2697: $? = 0
configure:2700: test -s conftest.o
configure:2703: $? = 0
configure:2713: result: yes
configure:2740: gcc -c    conftest.c >&5
conftest.c:2:3: error: unknown type name 'choke'
conftest.c:2:3: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
configure:2743: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2855: checking dependency style of gcc
configure:2917: result: gcc3
configure:2928: checking how to run the C preprocessor
configure:2954: gcc -E  conftest.c
configure:2960: $? = 0
configure:2987: gcc -E  conftest.c
configure:2983:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:2993: $? = 1
configure: failed program was:
#line 2982 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3030: result: gcc -E
configure:3045: gcc -E  conftest.c
configure:3051: $? = 0
configure:3078: gcc -E  conftest.c
configure:3074:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3084: $? = 1
configure: failed program was:
#line 3073 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3204: checking for g++
configure:3220: found /usr/bin/g++
configure:3230: result: g++
configure:3246: checking for C++ compiler version
configure:3249: g++ --version </dev/null >&5
g++ (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3252: $? = 0
configure:3254: g++ -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.6.3/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) 
configure:3257: $? = 0
configure:3259: g++ -V </dev/null >&5
g++: error: unrecognized option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3262: $? = 4
configure:3265: checking whether we are using the GNU C++ compiler
configure:3292: g++ -c    conftest.cc >&5
configure:3295: $? = 0
configure:3298: test -s conftest.o
configure:3301: $? = 0
configure:3313: result: yes
configure:3319: checking whether g++ accepts -g
configure:3343: g++ -c -g  conftest.cc >&5
configure:3346: $? = 0
configure:3349: test -s conftest.o
configure:3352: $? = 0
configure:3362: result: yes
configure:3408: g++ -c    conftest.cc >&5
configure:3411: $? = 0
configure:3414: test -s conftest.o
configure:3417: $? = 0
configure:3445: g++ -c    conftest.cc >&5
configure: In function 'int main()':
configure:3437:9: error: 'exit' was not declared in this scope
configure:3448: $? = 1
configure: failed program was:
#line 3426 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:3408: g++ -c    conftest.cc >&5
configure:3411: $? = 0
configure:3414: test -s conftest.o
configure:3417: $? = 0
configure:3445: g++ -c    conftest.cc >&5
configure:3448: $? = 0
configure:3451: test -s conftest.o
configure:3454: $? = 0
configure:3478: checking dependency style of g++
configure:3540: result: gcc3
configure:3827: checking whether g++ supports -Wundef
configure:3866: rm -rf SunWS_cache; g++ -o conftest -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2   -Wundef   conftest.cc  1>&5
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:3869: $? = 0
configure:3872: test -s conftest
configure:3875: $? = 0
configure:3894: result: yes
configure:3906: checking whether g++ supports -Wbad-function-cast
configure:3945: rm -rf SunWS_cache; g++ -o conftest -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2   -Wbad-function-cast   conftest.cc  1>&5
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
configure:3948: $? = 0
configure:3951: test -s conftest
configure:3954: $? = 0
configure:3973: result: yes
configure:3985: checking whether g++ supports -Wno-long-long
configure:4024: rm -rf SunWS_cache; g++ -o conftest -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2   -Wno-long-long   conftest.cc  1>&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:4027: $? = 0
configure:4030: test -s conftest
configure:4033: $? = 0
configure:4052: result: yes
configure:4064: checking whether g++ supports -Wnon-virtual-dtor
configure:4103: rm -rf SunWS_cache; g++ -o conftest -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2   -Wnon-virtual-dtor   conftest.cc  1>&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:4106: $? = 0
configure:4109: test -s conftest
configure:4112: $? = 0
configure:4131: result: yes
configure:4151: checking whether g++ supports -fno-exceptions
configure:4190: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2   -fno-exceptions   conftest.cc  1>&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:4193: $? = 0
configure:4196: test -s conftest
configure:4199: $? = 0
configure:4218: result: yes
configure:4230: checking whether g++ supports -fno-check-new
configure:4269: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2   -fno-exceptions -fno-check-new   conftest.cc  1>&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:4272: $? = 0
configure:4275: test -s conftest
configure:4278: $? = 0
configure:4297: result: yes
configure:4309: checking whether g++ supports -fexceptions
configure:4348: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2   -fno-exceptions -fno-check-new -fexceptions   conftest.cc  1>&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:4351: $? = 0
configure:4354: test -s conftest
configure:4357: $? = 0
configure:4376: result: yes
configure:4983: checking how to run the C++ preprocessor
configure:5005: g++ -E  conftest.cc
configure:5011: $? = 0
configure:5038: g++ -E  conftest.cc
configure:5034:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:5044: $? = 1
configure: failed program was:
#line 5033 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:5081: result: g++ -E
configure:5096: g++ -E  conftest.cc
configure:5102: $? = 0
configure:5129: g++ -E  conftest.cc
configure:5125:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:5135: $? = 1
configure: failed program was:
#line 5124 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:5197: checking whether g++ supports -frepo
configure:5236: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -frepo   conftest.cc  1>&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
<built-in>:0:0: warning: -frepo must be used with -c [enabled by default]
configure:5239: $? = 0
configure:5242: test -s conftest
configure:5245: $? = 0
configure:5264: result: yes
configure:5493: checking for ld used by GCC
configure:5557: result: /usr/bin/ld
configure:5566: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.21.53.0.1-6.fc16 20110716
configure:5578: result: yes
configure:5583: checking for /usr/bin/ld option to reload object files
configure:5590: result: -r
configure:5599: checking for BSD-compatible nm
configure:5634: result: /usr/bin/nm -B
configure:5638: checking for a sed that does not truncate output
configure:5714: result: 
configure:5717: checking whether ln -s works
configure:5721: result: yes
configure:5728: checking how to recognise dependant libraries
configure:5915: result: pass_all
configure:5985: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:5988: $? = 0
configure:6075: checking for ANSI C header files
configure:6089: gcc -E  conftest.c
configure:6095: $? = 0
configure:6182: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
configure: In function 'main':
configure:6173:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
configure:6173:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
configure:6185: $? = 0
configure:6187: ./conftest
configure:6190: $? = 0
configure:6204: result: yes
configure:6228: checking for sys/types.h
configure:6241: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6244: $? = 0
configure:6247: test -s conftest.o
configure:6250: $? = 0
configure:6260: result: yes
configure:6228: checking for sys/stat.h
configure:6241: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6244: $? = 0
configure:6247: test -s conftest.o
configure:6250: $? = 0
configure:6260: result: yes
configure:6228: checking for stdlib.h
configure:6241: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6244: $? = 0
configure:6247: test -s conftest.o
configure:6250: $? = 0
configure:6260: result: yes
configure:6228: checking for string.h
configure:6241: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6244: $? = 0
configure:6247: test -s conftest.o
configure:6250: $? = 0
configure:6260: result: yes
configure:6228: checking for memory.h
configure:6241: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6244: $? = 0
configure:6247: test -s conftest.o
configure:6250: $? = 0
configure:6260: result: yes
configure:6228: checking for strings.h
configure:6241: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6244: $? = 0
configure:6247: test -s conftest.o
configure:6250: $? = 0
configure:6260: result: yes
configure:6228: checking for inttypes.h
configure:6241: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6244: $? = 0
configure:6247: test -s conftest.o
configure:6250: $? = 0
configure:6260: result: yes
configure:6228: checking for stdint.h
configure:6241: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6244: $? = 0
configure:6247: test -s conftest.o
configure:6250: $? = 0
configure:6260: result: yes
configure:6228: checking for unistd.h
configure:6241: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6244: $? = 0
configure:6247: test -s conftest.o
configure:6250: $? = 0
configure:6260: result: yes
configure:6286: checking dlfcn.h usability
configure:6295: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:6298: $? = 0
configure:6301: test -s conftest.o
configure:6304: $? = 0
configure:6313: result: yes
configure:6317: checking dlfcn.h presence
configure:6324: gcc -E  conftest.c
configure:6330: $? = 0
configure:6348: result: yes
configure:6366: checking for dlfcn.h
configure:6373: result: yes
configure:6390: checking the maximum length of command line arguments
configure:6438: result: 
configure:6449: checking command to parse /usr/bin/nm -B output from gcc object
configure:6534: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
conftest.c:5:6: warning: no previous prototype for 'nm_test_func' [-Wmissing-prototypes]
configure:6537: $? = 0
configure:6541: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[     ]\([ABCDGISTW][ABCDGISTW]*\)[     ][     ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:6544: $? = 0
configure:6596: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c conftstm.o >&5
configure:6599: $? = 0
configure:6637: result: ok
configure:6641: checking for objdir
configure:6656: result: .libs
configure:6746: checking for ranlib
configure:6762: found /usr/bin/ranlib
configure:6773: result: ranlib
configure:6826: checking for strip
configure:6842: found /usr/bin/strip
configure:6853: result: strip
configure:7116: checking if gcc static flag  works
conftest.c:1:1: warning: return type defaults to 'int' [-Wreturn-type]
configure:7139: result: no
configure:7156: checking if gcc supports -fno-rtti -fno-exceptions
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:7180: result: no
configure:7195: checking for gcc option to produce PIC
configure:7348: result: -fPIC
configure:7355: checking if gcc PIC flag -fPIC works
configure:7379: result: yes
configure:7403: checking if gcc supports -c -o file.o
configure:7444: result: yes
configure:7470: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:8255: result: yes
configure:8277: checking whether -lc should be explicitly linked in
configure:8282: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
conftest.c:1:12: warning: 'dummy' defined but not used [-Wunused-variable]
configure:8285: $? = 0
configure:8299: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:8302: $? = 0
configure:8314: result: no
configure:8320: checking how to hardcode library paths into programs
configure:8344: result: immediate
configure:8358: checking whether stripping libraries is possible
configure:8363: result: yes
configure:8370: checking dynamic linker characteristics
configure:8821: result: GNU/Linux ld.so
configure:9462: checking if libtool supports shared libraries
configure:9464: result: yes
configure:9467: checking whether to build shared libraries
configure:9488: result: yes
configure:9491: checking whether to build static libraries
configure:9495: result: no
configure:9574: creating libtool
configure:10299: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:10956: result: yes
configure:10973: g++ -c -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  conftest.cc >&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:10976: $? = 0
configure:11076: checking for g++ option to produce PIC
configure:11312: result: -fPIC
configure:11319: checking if g++ PIC flag -fPIC works
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:11343: result: no
configure:11367: checking if g++ supports -c -o file.o
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:11408: result: no
configure:11434: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:11456: result: yes
configure:11478: checking whether -lc should be explicitly linked in
configure:11483: g++ -c -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  conftest.cc >&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
conftest.cc:1:12: warning: 'dummy' defined but not used [-Wunused-variable]
configure:11486: $? = 0
configure:11500: g++ -shared -nostdlib  conftest.o   -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:11503: $? = 1
configure:11515: result: yes
configure:11521: checking how to hardcode library paths into programs
configure:11545: result: immediate
configure:11559: checking whether stripping libraries is possible
configure:11564: result: yes
configure:11571: checking dynamic linker characteristics
configure:12022: result: GNU/Linux ld.so
configure:13079: checking if gcj supports -fno-rtti -fno-exceptions
configure:13103: result: no
configure:13118: checking for gcj option to produce PIC
configure:13271: result: -fPIC
configure:13278: checking if gcj PIC flag -fPIC works
configure:13302: result: no
configure:13326: checking if gcj supports -c -o file.o
configure:13367: result: no
configure:13393: checking whether the gcj linker (/usr/bin/ld) supports shared libraries
configure:14178: result: yes
configure:14200: checking whether -lc should be explicitly linked in
configure:14205: gcj -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.java >&5
configure: line 14206: gcj: command not found
configure:14208: $? = 127
configure:14237: result: yes
configure:14243: checking how to hardcode library paths into programs
configure:14267: result: immediate
configure:14281: checking whether stripping libraries is possible
configure:14286: result: yes
configure:14293: checking dynamic linker characteristics
configure:14744: result: GNU/Linux ld.so
configure:16276: checking for msgfmt
configure:16303: result: /usr/bin/msgfmt
configure:16312: checking for gmsgfmt
configure:16343: result: /usr/bin/msgfmt
configure:16362: checking for xgettext
configure:16389: result: /usr/bin/xgettext
configure:16479: checking for main in -lutil
configure:16506: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -lutil   >&5
configure:16509: $? = 0
configure:16512: test -s conftest
configure:16515: $? = 0
configure:16526: result: yes
configure:16532: checking for main in -lcompat
configure:16559: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -lcompat   >&5
/usr/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure:16562: $? = 1
configure: failed program was:
#line 16539 "configure"
#include "confdefs.h"


#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
  ;
  return 0;
}
configure:16579: result: no
configure:16586: checking for crypt in -lcrypt
configure:16619: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -lcrypt   >&5
configure:16622: $? = 0
configure:16625: test -s conftest
configure:16628: $? = 0
configure:16639: result: yes
configure:16724: checking for socklen_t
configure:16766: g++ -c -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  conftest.cc >&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
configure:16769: $? = 0
configure:16772: test -s conftest.o
configure:16775: $? = 0
configure:16838: result: socklen_t
configure:16860: checking for dnet_ntoa in -ldnet
configure:16893: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -ldnet   >&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure:16896: $? = 1
configure: failed program was:
#line 16867 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char dnet_ntoa ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
dnet_ntoa ();
  ;
  return 0;
}
configure:16913: result: no
configure:16920: checking for dnet_ntoa in -ldnet_stub
configure:16953: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -ldnet_stub   >&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure:16956: $? = 1
configure: failed program was:
#line 16927 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char dnet_ntoa ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
dnet_ntoa ();
  ;
  return 0;
}
configure:16973: result: no
configure:16980: checking for inet_ntoa
configure:17023: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
configure:17026: $? = 0
configure:17029: test -s conftest
configure:17032: $? = 0
configure:17042: result: yes
configure:17106: checking for connect
configure:17149: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
configure:17152: $? = 0
configure:17155: test -s conftest
configure:17158: $? = 0
configure:17168: result: yes
configure:17233: checking for remove
configure:17276: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
configure:17279: $? = 0
configure:17282: test -s conftest
configure:17285: $? = 0
configure:17295: result: yes
configure:17361: checking for shmat
configure:17404: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
configure:17407: $? = 0
configure:17410: test -s conftest
configure:17413: $? = 0
configure:17423: result: yes
configure:17505: checking crt_externs.h usability
configure:17514: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:17542:25: fatal error: crt_externs.h: No such file or directory
compilation terminated.
configure:17517: $? = 1
configure: failed program was:
#line 17507 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <crt_externs.h>
configure:17532: result: no
configure:17536: checking crt_externs.h presence
configure:17543: gcc -E  conftest.c
configure:17539:25: fatal error: crt_externs.h: No such file or directory
compilation terminated.
configure:17549: $? = 1
configure: failed program was:
#line 17538 "configure"
#include "confdefs.h"
#include <crt_externs.h>
configure:17567: result: no
configure:17585: checking for crt_externs.h
configure:17592: result: no
configure:17605: checking for _NSGetEnviron
configure:17648: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
/tmp/ccYBlGGa.o: In function `main':
conftest.c:(.text.startup+0x7): undefined reference to `_NSGetEnviron'
collect2: ld returned 1 exit status
configure:17651: $? = 1
configure: failed program was:
#line 17610 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _NSGetEnviron (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char _NSGetEnviron ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub__NSGetEnviron) || defined (__stub____NSGetEnviron)
choke me
#else
f = _NSGetEnviron;
#endif

  ;
  return 0;
}
configure:17667: result: no
configure:17685: checking for sys/types.h
configure:17690: result: yes
configure:17685: checking for stdint.h
configure:17690: result: yes
configure:17796: checking for poll in -lpoll
configure:17829: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -lpoll   >&5
/usr/bin/ld: cannot find -lpoll
collect2: ld returned 1 exit status
configure:17832: $? = 1
configure: failed program was:
#line 17803 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char poll ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
poll ();
  ;
  return 0;
}
configure:17849: result: no
configure:17867: checking CoreAudio/CoreAudio.h usability
configure:17876: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:17904:33: fatal error: CoreAudio/CoreAudio.h: No such file or directory
compilation terminated.
configure:17879: $? = 1
configure: failed program was:
#line 17869 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <CoreAudio/CoreAudio.h>
configure:17894: result: no
configure:17898: checking CoreAudio/CoreAudio.h presence
configure:17905: gcc -E  conftest.c
configure:17901:33: fatal error: CoreAudio/CoreAudio.h: No such file or directory
compilation terminated.
configure:17911: $? = 1
configure: failed program was:
#line 17900 "configure"
#include "confdefs.h"
#include <CoreAudio/CoreAudio.h>
configure:17929: result: no
configure:17947: checking for CoreAudio/CoreAudio.h
configure:17954: result: no
configure:17976: checking for res_init
configure:18019: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
/tmp/ccfXVW7s.o: In function `main':
conftest.c:(.text.startup+0x7): undefined reference to `res_init'
collect2: ld returned 1 exit status
configure:18022: $? = 1
configure: failed program was:
#line 17981 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char res_init (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char res_init ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_res_init) || defined (__stub___res_init)
choke me
#else
f = res_init;
#endif

  ;
  return 0;
}
configure:18038: result: no
configure:18072: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c   -lresolv >&5
configure:18075: $? = 0
configure:18078: test -s conftest
configure:18081: $? = 0
configure:18108: checking for killpg in -lucb
configure:18141: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -lucb   >&5
/usr/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure:18144: $? = 1
configure: failed program was:
#line 18115 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char killpg ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
killpg ();
  ;
  return 0;
}
configure:18161: result: no
configure:18235: checking for int
configure:18262: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:18265: $? = 0
configure:18268: test -s conftest.o
configure:18271: $? = 0
configure:18281: result: yes
configure:18284: checking size of int
configure:18562: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
configure:18555:6: warning: no previous prototype for 'longval' [-Wmissing-prototypes]
configure:18556:15: warning: no previous prototype for 'ulongval' [-Wmissing-prototypes]
configure:18565: $? = 0
configure:18567: ./conftest
configure:18570: $? = 0
configure:18590: result: 4
configure:18596: checking for long
configure:18623: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:18626: $? = 0
configure:18629: test -s conftest.o
configure:18632: $? = 0
configure:18642: result: yes
configure:18645: checking size of long
configure:18923: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
configure:18916:6: warning: no previous prototype for 'longval' [-Wmissing-prototypes]
configure:18917:15: warning: no previous prototype for 'ulongval' [-Wmissing-prototypes]
configure:18926: $? = 0
configure:18928: ./conftest
configure:18931: $? = 0
configure:18951: result: 8
configure:18957: checking for char *
configure:18984: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:18987: $? = 0
configure:18990: test -s conftest.o
configure:18993: $? = 0
configure:19003: result: yes
configure:19006: checking size of char *
configure:19284: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
configure:19277:6: warning: no previous prototype for 'longval' [-Wmissing-prototypes]
configure:19278:15: warning: no previous prototype for 'ulongval' [-Wmissing-prototypes]
configure:19287: $? = 0
configure:19289: ./conftest
configure:19292: $? = 0
configure:19312: result: 8
configure:19318: checking for char
configure:19345: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    conftest.c >&5
configure:19348: $? = 0
configure:19351: test -s conftest.o
configure:19354: $? = 0
configure:19364: result: yes
configure:19367: checking size of char
configure:19645: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c  >&5
configure:19638:6: warning: no previous prototype for 'longval' [-Wmissing-prototypes]
configure:19639:15: warning: no previous prototype for 'ulongval' [-Wmissing-prototypes]
configure:19648: $? = 0
configure:19650: ./conftest
configure:19653: $? = 0
configure:19673: result: 1
configure:19681: checking for dlopen in -ldl
configure:19714: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -ldl   >&5
configure:19717: $? = 0
configure:19720: test -s conftest
configure:19723: $? = 0
configure:19734: result: yes
configure:19744: checking for shl_unload in -ldld
configure:19777: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -ldld   >&5
/usr/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure:19780: $? = 1
configure: failed program was:
#line 19751 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char shl_unload ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
shl_unload ();
  ;
  return 0;
}
configure:19797: result: no
configure:19832: checking for X
configure:19871: gcc -E  conftest.c
configure:19877: $? = 0
configure:19969: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -lXt  >&5
configure: In function 'main':
configure:19961:1: warning: implicit declaration of function 'XtMalloc' [-Wimplicit-function-declaration]
configure:19972: $? = 0
configure:19975: test -s conftest
configure:19978: $? = 0
configure:20122: result: libraries /usr/lib, headers .
configure:20156: checking for IceConnectionNumber in -lICE
configure:20189: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     -L/usr/lib conftest.c -lICE  -lresolv  >&5
configure:20192: $? = 0
configure:20195: test -s conftest
configure:20198: $? = 0
configure:20209: result: yes
configure:20223: checking for libXext
configure:20261: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     -L/usr/lib  conftest.c -lXext -lX11  -lresolv >&5
configure:20264: $? = 0
configure:20267: test -s conftest
configure:20270: $? = 0
configure:20287: result: yes
configure:20300: checking for Xinerama
configure:20375: result: no
configure:20431: checking for pthread_create in -lpthread
configure:20464: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     conftest.c -lpthread   >&5
configure:20467: $? = 0
configure:20470: test -s conftest
configure:20473: $? = 0
configure:20484: result: yes
configure:20877: checking for extra includes
configure:20905: result: no
configure:20909: checking for extra libs
configure:20938: result: no
configure:20944: checking for libz
configure:20981: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -I.   -D_REENTRANT  conftest.c -L/usr/lib  -lz  -lresolv >&5
configure: In function 'main':
configure:20973:23: warning: comparison with string literal results in unspecified behavior [-Waddress]
configure:20984: $? = 0
configure:20987: test -s conftest
configure:20990: $? = 0
configure:21011: result: -lz
configure:21024: checking for libpng
configure:21069: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -I.   -D_REENTRANT  conftest.c  -L/usr/lib  -lpng -lz -lm -lX11  -lresolv >&5
configure:21072: $? = 0
configure:21075: test -s conftest
configure:21078: $? = 0
configure:21100: result: -lpng -lz -lm
configure:21111: checking for libjpeg6b
configure:21160: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -I.   -D_REENTRANT  conftest.c -L/usr/lib  -ljpeg6b -lm >&5
/usr/bin/ld: cannot find -ljpeg6b
collect2: ld returned 1 exit status
configure:21163: $? = 1
configure: failed program was:
#line 21127 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
struct jpeg_decompress_struct;
typedef struct jpeg_decompress_struct * j_decompress_ptr;
typedef int size_t;
#ifdef __cplusplus
extern "C" {
#endif
    void jpeg_CreateDecompress(j_decompress_ptr cinfo,
                                    int version, size_t structsize);
#ifdef __cplusplus
}
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
jpeg_CreateDecompress(0L, 0, 0);
  ;
  return 0;
}
configure:21189: result: no
configure:21192: checking for libjpeg
configure:21241: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -I.   -D_REENTRANT  conftest.c -L/usr/lib  -ljpeg -lm >&5
configure:21244: $? = 0
configure:21247: test -s conftest
configure:21250: $? = 0
configure:21267: result: -ljpeg
configure: 21291: ${prefix}/include/jpeglib.h
configure: 21291: /usr/include/jpeglib.h
taking that
configure:21461: checking for Qt
configure: 21526: /usr/lib/qt3/include/qstyle.h
configure: 21526: /usr/lib/qt3/qstyle.h
configure: 21526: /usr/lib/qt/include/qstyle.h
configure: 21526: /usr/lib/qt/qstyle.h
configure: 21526: /usr/local/qt/include/qstyle.h
configure: 21526: /usr/include/qt/qstyle.h
configure: 21526: /usr/include/qstyle.h
configure: 21526: /usr/X11R6/include/X11/qt/qstyle.h
configure: 21526: /usr/X11R6/include/qt/qstyle.h
configure: 21526: /usr/X11R6/include/qt2/qstyle.h
configure: 21526: ./qstyle.h
tried NO
tried /usr/lib/qt3/lib
tried /usr/lib/qt3
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib
tried /usr/lib
tried /usr/local/qt/lib
tried /usr/lib
configure:21638: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -INO -I.  -DQT_THREAD_SUPPORT  -D_REENTRANT  -LNONE -L/usr/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
conftest.cc:2:21: fatal error: qglobal.h: No such file or directory
compilation terminated.
configure:21641: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 303)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:21681: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func__NSGetEnviron=no
ac_cv_func_connect=yes
ac_cv_func_inet_ntoa=yes
ac_cv_func_remove=yes
ac_cv_func_res_init=no
ac_cv_func_shmat=yes
ac_cv_have_dlfcn=yes
ac_cv_have_qt=have_qt=no
ac_cv_have_xinerama=no
ac_cv_header_CoreAudio_CoreAudio_h=no
ac_cv_header_crt_externs_h=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_lib_compat_main=no
ac_cv_lib_crypt_crypt=yes
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_dld_shl_unload=no
ac_cv_lib_dnet_dnet_ntoa=no
ac_cv_lib_dnet_stub_dnet_ntoa=no
ac_cv_lib_jpeg_6b=no
ac_cv_lib_jpeg_normal=-ljpeg
ac_cv_lib_png='-lpng -lz -lm'
ac_cv_lib_poll_poll=no
ac_cv_lib_pthread_pthread_create=yes
ac_cv_lib_ucb_killpg=no
ac_cv_lib_util_main=yes
ac_cv_lib_z=-lz
ac_cv_objext=o
ac_cv_path_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_XGETTEXT=/usr/bin/xgettext
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_char=1
ac_cv_sizeof_char_p=8
ac_cv_sizeof_int=4
ac_cv_sizeof_long=8
ac_cv_socklen_t=socklen_t
ac_cv_target=x86_64-unknown-linux-gnu
ac_cv_target_alias=x86_64-unknown-linux-gnu
ac_cv_type_char=yes
ac_cv_type_char_p=yes
ac_cv_type_int=yes
ac_cv_type_long=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
kde_cv_have_libXext=yes
kde_cv_have_x='have_x=yes          kde_x_includes=. kde_x_libraries=/usr/lib'
kde_cv_prog_cxx_Wbad_function_cast=yes
kde_cv_prog_cxx_Wno_long_long=yes
kde_cv_prog_cxx_Wnon_virtual_dtor=yes
kde_cv_prog_cxx_Wundef=yes
kde_cv_prog_cxx_fexceptions=yes
kde_cv_prog_cxx_fno_check_new=yes
kde_cv_prog_cxx_fno_exceptions=yes
kde_cv_prog_cxx_frepo=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so.6 /lib/libc-2.14.90.so'
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=no
lt_cv_prog_compiler_c_o_GCJ=no
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[     ]\([ABCDGISTW][ABCDGISTW]*\)[     ][     ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
lt_cv_sys_max_cmd_len=
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_prog_compiler_c_o_CXX='"no"'
lt_lt_cv_prog_compiler_c_o_GCJ='"no"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[     ]\\([ABCDGISTW][ABCDGISTW]*\\)[     ][     ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/  {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "kdesudo"
#define VERSION "1.0"
#ifdef __cplusplus
#include <stdlib.h>
#endif
#define HAVE_TEMPLATE_REPOSITORY 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define HAVE_CRYPT 1
#define ksize_t socklen_t
#define HAVE_SYS_TYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_RES_INIT 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_CHAR_P 8
#define SIZEOF_CHAR 1
#define HAVE_LIBZ 1
#define HAVE_LIBPNG 1
#define HAVE_LIBJPEG 1
#define HAVE_LIBPTHREAD 1

configure: exit 1

9 (23.03.2012 14:25:35 отредактировано verg)

zRPG,
Зачем его собирать, если он в репах имеется?
Репозиторий Ubuntu Main

 Консоль:
$ sudo apt-get install kdesudo

kdesu в пример приводил, за неимением(скорее ненужностью мне) kdesudo, вести будет аналогично, за исключением, что будет просить пароль пользователя.

10 (23.03.2012 14:35:51 отредактировано verg)

zRPG,
Это что за:

uname -r = 3.2.10-3.fc16.x86_64

У вас Fedora 16?
Что забыли в разделе UBUNTU?

з.ы. сегодня напасть прям на этот раздел от юзеров других дистрибутивов

11 (23.03.2012 14:58:36 отредактировано verg)

zRPG,
Если собрать не получится, то
Качаете deb пакет: http://ftp.br.debian.org/debian/pool/ma … _amd64.deb
Ставите alien (можно взять от мандривы/магеи или openSUSE, если в репах федоры не найдете)
Далее:

 Консоль:
# alien -rkc kdesudo_3.4.2.4-1_amd64.deb

Получится пакет rpm

12

:O А зачем собирать? оно в убунте из коробки есть...

13 (23.03.2012 20:08:07 отредактировано verg)

Харитон,
У него Fedora.

А так уже писал про это: http://linuxforum.ru/viewtopic.php?pid=262098#p262098

14

Раздел называется Linux Forum  → Red Hat Linux, Fedora, ASP Linux, Cent OS  → Запуск с правами ROOT
Нигде нет слова ubuntu :/

Да у меня fedora. Просто сперва этот вопрос не касался дистрибутива, вот и не написал.

verg спасибо за разъяснение и за подсказку про alien. Таким пакетом ещё не пользовался.
И всё-таки сперва попробую собрать

15 (24.03.2012 15:02:01 отредактировано verg)

zRPG пишет:

Раздел называется Linux Forum  → Red Hat Linux, Fedora, ASP Linux, Cent OS  → Запуск с правами ROOT
Нигде нет слова ubuntu hmm

Тему отрезали и перенесли. Лучше новую тему в нужном разделе создавать, чтобы не было непоняток.




Если понадобится alien тут просто найти: http://pkgs.org/search/?keyword=alien
От от мандривы/магеи или openSUSE должен подойти, ну или перепаковать можно.