tigormaster
(usa Outra)
Enviado em 15/08/2018 - 11:46h
igor@Tigor:~$ sudo apt install build-essential git
[sudo] senha para igor:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
build-essential is already the newest version (12.4ubuntu1).
git is already the newest version (1:2.17.1-1ubuntu0.1).
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
libgtkmm-3.0-1v5 linux-image-4.13.0-46-generic
linux-image-extra-4.13.0-46-generic
Utilize 'sudo apt autoremove' para os remover.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
igor@Tigor:~$ git clone
https://github.com/cdobrich/btnx
Cloning into 'btnx'...
remote: Counting objects: 81, done.
remote: Total 81 (delta 0), reused 0 (delta 0), pack-reused 81
Unpacking objects: 100% (81/81), done.
igor@Tigor:~$ cd btnx/
igor@Tigor:~/btnx$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... no
checking for LIBDAEMON... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables LIBDAEMON_CFLAGS
and LIBDAEMON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.
igor@Tigor:~/btnx$ make
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado. Pare.
igor@Tigor:~/btnx$ make
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado. Pare.
igor@Tigor:~/btnx$ git clone
https://github.com/cdobrich/btnx-config
Cloning into 'btnx-config'...
remote: Counting objects: 272, done.
remote: Total 272 (delta 0), reused 0 (delta 0), pack-reused 272
Receiving objects: 100% (272/272), 1016.39 KiB | 1.00 MiB/s, done.
Resolving deltas: 100% (56/56), done.
igor@Tigor:~/btnx$ cd btnx-config/
igor@Tigor:~/btnx/btnx-config$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for scrollkeeper-config... no
checking for gksu... no
checking for kdesu... no
checking for tar... /bin/tar
checking for pkg-config... no
checking for GTK... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.
RESUMINDO o que entendi : ele passou da parte http após acrescentar / copiar e colar o novo codigo que vcs me enviaram, mas ele deu erro em baixo eu tentei com as duas tanto o "btnx normal , quanto btnx config" ambos deram erro dizendo sobre
" configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config."
-------&-----
"checking for LIBDAEMON... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config."
ambos foram as opcoes cd normalmente eu "entrei na pasta" pelo cd, baixou os arquivos corretamente o problema foram as mensagens citadas cima entre "aspas" que eu coloquei eu vou pesquisar na net sobre libdaemon e os erros mas fico na esperança de ajuda obrigado desde já!