* [COMM] gtk-- и sigc++
@ 2002-12-05 16:33 Maxim A. Telegin
2002-12-05 16:35 ` aen
2002-12-05 16:42 ` Sergey Vlasov
0 siblings, 2 replies; 13+ messages in thread
From: Maxim A. Telegin @ 2002-12-05 16:33 UTC (permalink / raw)
To: community
Здравствуйте,
Тут вот понадобилось скомпилировать программку. Она подключает что-то из </usr/include/gtk--> А оттуда файл proxy.h хочет чего-то из <sigc++/что-то там> В /usr/include есть только /sigc++-1.0
Не подскажете, как правильно все скомпилировать?
Извините, но я программер пока никакой :)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] gtk-- и sigc++
2002-12-05 16:33 [COMM] gtk-- и sigc++ Maxim A. Telegin
@ 2002-12-05 16:35 ` aen
2002-12-05 16:42 ` Maxim A. Telegin
2002-12-05 16:47 ` Someone Unknown
2002-12-05 16:42 ` Sergey Vlasov
1 sibling, 2 replies; 13+ messages in thread
From: aen @ 2002-12-05 16:35 UTC (permalink / raw)
To: community
Maxim A. Telegin wrote:
>Здравствуйте,
>Тут вот понадобилось скомпилировать программку. Она подключает что-то из </usr/include/gtk--> А оттуда файл proxy.h хочет чего-то из <sigc++/что-то там> В /usr/include есть только /sigc++-1.0
>Не подскажете, как правильно все скомпилировать?
>
Исправить программу, заменив sigc++/ на sigc++-1.0/ и собрать ее.
Rgrds, AEN
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] gtk-- и sigc++
2002-12-05 16:35 ` aen
@ 2002-12-05 16:42 ` Maxim A. Telegin
2002-12-05 16:47 ` Someone Unknown
1 sibling, 0 replies; 13+ messages in thread
From: Maxim A. Telegin @ 2002-12-05 16:42 UTC (permalink / raw)
To: community
On Thu, 05 Dec 2002 19:35:12 +0300
aen <aen@altlinux.ru> wrote:
> >Здравствуйте,
> >Тут вот понадобилось скомпилировать программку. Она подключает что-то из </usr/include/gtk--> А оттуда файл proxy.h хочет чего-то из <sigc++/что-то там> В /usr/include есть только /sigc++-1.0
> >Не подскажете, как правильно все скомпилировать?
> >
> Исправить программу, заменив sigc++/ на sigc++-1.0/ и собрать ее.
> Rgrds, AEN
Дело не в программе. Файлы из /usr/include/sigc++ подключаются хидерами из /usr/include/gtk-- А эта директория, я так, понимаю принадлежит пакету: libgtkmm-devel-1.2.10-alt1.1 Пакеты самые новые.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] gtk-- и sigc++
2002-12-05 16:35 ` aen
2002-12-05 16:42 ` Maxim A. Telegin
@ 2002-12-05 16:47 ` Someone Unknown
2002-12-05 16:49 ` aen
2002-12-05 16:52 ` aen
1 sibling, 2 replies; 13+ messages in thread
From: Someone Unknown @ 2002-12-05 16:47 UTC (permalink / raw)
To: community
> >Тут вот понадобилось скомпилировать программку. Она подключает что-то из
> > </usr/include/gtk--> А оттуда файл proxy.h хочет чего-то из
> > <sigc++/что-то там> В /usr/include есть только /sigc++-1.0 Не подскажете,
> > как правильно все скомпилировать?
>
> Исправить программу, заменив sigc++/ на sigc++-1.0/ и собрать ее.
А не логичнее или
1) # ln -s /usr/include/sigc++-1.0 /usr/include/sigc++
или
2) # export CPPFLAGS=`sigc-config --cflags`
(или CXXFLAGS ? не помню...)
Все же лучше, чем править исходник...
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] gtk-- и sigc++
2002-12-05 16:47 ` Someone Unknown
@ 2002-12-05 16:49 ` aen
2002-12-05 16:56 ` Someone Unknown
2002-12-05 16:52 ` aen
1 sibling, 1 reply; 13+ messages in thread
From: aen @ 2002-12-05 16:49 UTC (permalink / raw)
To: community
Someone Unknown wrote:
>>>Тут вот понадобилось скомпилировать программку. Она подключает что-то из
>>></usr/include/gtk--> А оттуда файл proxy.h хочет чего-то из
>>><sigc++/что-то там> В /usr/include есть только /sigc++-1.0 Не подскажете,
>>>как правильно все скомпилировать?
>>>
>>>
>>Исправить программу, заменив sigc++/ на sigc++-1.0/ и собрать ее.
>>
>>
>
>А не логичнее или
>
>1) # ln -s /usr/include/sigc++-1.0 /usr/include/sigc++
>
Нет, это хак. Что Вы будете делать при повлении следующих версий? Кроме
того, нежелательны линки, которых нет в пакетах.
>
>или
>2) # export CPPFLAGS=`sigc-config --cflags`
>(или CXXFLAGS ? не помню...)
>
А это не поможет, так как #include "sigc++/xxx.h"
Править исходники (обязательно сохраняя патчи!) -- абслоютное правильное
и очень полезное занятие.
Rgrds, AEN
>
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] gtk-- и sigc++
2002-12-05 16:49 ` aen
@ 2002-12-05 16:56 ` Someone Unknown
0 siblings, 0 replies; 13+ messages in thread
From: Someone Unknown @ 2002-12-05 16:56 UTC (permalink / raw)
To: community
> >2) # export CPPFLAGS=`sigc-config --cflags`
> >(или CXXFLAGS ? не помню...)
>
> А это не поможет, так как #include "sigc++/xxx.h"
>
> Править исходники (обязательно сохраняя патчи!) -- абслоютное правильное
> и очень полезное занятие.
Поможет. Потому как реально хедеры лежат в /usr/include/sigc++-1.0/sigc++/,
sigc-config --cflags выдает
-I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0
По второму параметру -I компилятор в рекурсивном поиске хедеров пойдет именно
в /usr/include/sigc++-1.0/sigc++/.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] gtk-- и sigc++
2002-12-05 16:47 ` Someone Unknown
2002-12-05 16:49 ` aen
@ 2002-12-05 16:52 ` aen
2002-12-05 16:58 ` [COMM] [JT] " Someone Unknown
1 sibling, 1 reply; 13+ messages in thread
From: aen @ 2002-12-05 16:52 UTC (permalink / raw)
To: community
Someone Unknown wrote:
>или
>2) # export CPPFLAGS=`sigc-config --cflags`
>(или CXXFLAGS ? не помню...)
>
Извиняюсь, это верно -- я сейчас посмотрел на структуру каталога и
заметил, что внутри sigc++-1.0 -- sigc++, что естественно.
Rgrds, AEN
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] [JT] gtk-- и sigc++
2002-12-05 16:52 ` aen
@ 2002-12-05 16:58 ` Someone Unknown
2002-12-05 17:05 ` Maxim A. Telegin
0 siblings, 1 reply; 13+ messages in thread
From: Someone Unknown @ 2002-12-05 16:58 UTC (permalink / raw)
To: community
В сообщении от 5 Декабрь 2002 19:52 aen написал:
> Someone Unknown wrote:
> >или
> >2) # export CPPFLAGS=`sigc-config --cflags`
> >(или CXXFLAGS ? не помню...)
>
> Извиняюсь, это верно -- я сейчас посмотрел на структуру каталога и
> заметил, что внутри sigc++-1.0 -- sigc++, что естественно.
Мы прямо-таки мыслим одинаково... 8))
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] [JT] gtk-- и sigc++
2002-12-05 16:58 ` [COMM] [JT] " Someone Unknown
@ 2002-12-05 17:05 ` Maxim A. Telegin
2002-12-06 6:39 ` Someone Unknown
2002-12-06 6:46 ` [COMM] " Someone Unknown
0 siblings, 2 replies; 13+ messages in thread
From: Maxim A. Telegin @ 2002-12-05 17:05 UTC (permalink / raw)
To: community
> > >2) # export CPPFLAGS=`sigc-config --cflags`
> > >(или CXXFLAGS ? не помню...)
> >
> > Извиняюсь, это верно -- я сейчас посмотрел на структуру каталога и
> > заметил, что внутри sigc++-1.0 -- sigc++, что естественно.
>
> Мы прямо-таки мыслим одинаково... 8))
А я вот так и не понял, как мне все компилировать :)
# export CPPFLAGS=`sigc-config --cflags`
# make
так и ничего не дали
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] [JT] gtk-- и sigc++
2002-12-05 17:05 ` Maxim A. Telegin
@ 2002-12-06 6:39 ` Someone Unknown
2002-12-06 9:04 ` Maxim A. Telegin
2002-12-06 6:46 ` [COMM] " Someone Unknown
1 sibling, 1 reply; 13+ messages in thread
From: Someone Unknown @ 2002-12-06 6:39 UTC (permalink / raw)
To: community
> > > >2) # export CPPFLAGS=`sigc-config --cflags`
> > > >(или CXXFLAGS ? не помню...)
> > >
> > > Извиняюсь, это верно -- я сейчас посмотрел на структуру каталога и
> > > заметил, что внутри sigc++-1.0 -- sigc++, что естественно.
> >
> > Мы прямо-таки мыслим одинаково... 8))
>
> А я вот так и не понял, как мне все компилировать :)
>
> # export CPPFLAGS=`sigc-config --cflags`
> # make
> так и ничего не дали
Попробуй CXXFLAGS и, на худой конец, CFLAGS
И может все-таки скажешь, что за сырцы? 8) Легче один раз попробовать
скомпился, чем сто раз услышать... 8)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] [JT] gtk-- и sigc++
2002-12-06 6:39 ` Someone Unknown
@ 2002-12-06 9:04 ` Maxim A. Telegin
0 siblings, 0 replies; 13+ messages in thread
From: Maxim A. Telegin @ 2002-12-06 9:04 UTC (permalink / raw)
To: community
On Fri, 6 Dec 2002 09:39:44 +0300
Someone Unknown <someone_lists@bk.ru> wrote:
> > > > >2) # export CPPFLAGS=`sigc-config --cflags`
> > > > >(или CXXFLAGS ? не помню...)
> > > >
> > > > Извиняюсь, это верно -- я сейчас посмотрел на структуру каталога и
> > > > заметил, что внутри sigc++-1.0 -- sigc++, что естественно.
> > >
> > > Мы прямо-таки мыслим одинаково... 8))
> >
> > А я вот так и не понял, как мне все компилировать :)
> >
> > # export CPPFLAGS=`sigc-config --cflags`
> > # make
> > так и ничего не дали
>
> Попробуй CXXFLAGS и, на худой конец, CFLAGS
> И может все-таки скажешь, что за сырцы? 8) Легче один раз попробовать
> скомпился, чем сто раз услышать... 8)
Все, получилось :) помогло:
# export CPPFLAGS=`sigc-config --cflags`
# make -e
Всем спасибо.
P.S. Сырцы от одной биологической программки. Я биологией занимаюсь :)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] gtk-- и sigc++
2002-12-05 17:05 ` Maxim A. Telegin
2002-12-06 6:39 ` Someone Unknown
@ 2002-12-06 6:46 ` Someone Unknown
1 sibling, 0 replies; 13+ messages in thread
From: Someone Unknown @ 2002-12-06 6:46 UTC (permalink / raw)
To: community
В сообщении от 5 Декабрь 2002 20:05 Maxim A. Telegin написал:
> > > >2) # export CPPFLAGS=`sigc-config --cflags`
> > > >(или CXXFLAGS ? не помню...)
> > >
> > > Извиняюсь, это верно -- я сейчас посмотрел на структуру каталога и
> > > заметил, что внутри sigc++-1.0 -- sigc++, что естественно.
> >
> > Мы прямо-таки мыслим одинаково... 8))
>
> А я вот так и не понял, как мне все компилировать :)
>
> # export CPPFLAGS=`sigc-config --cflags`
> # make
> так и ничего не дали
И вообще, не фиг извращаться.
# ln -s /usr/include/sigc++-1.0/sigc++ /usr/include/sigc++
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [COMM] gtk-- и sigc++
2002-12-05 16:33 [COMM] gtk-- и sigc++ Maxim A. Telegin
2002-12-05 16:35 ` aen
@ 2002-12-05 16:42 ` Sergey Vlasov
1 sibling, 0 replies; 13+ messages in thread
From: Sergey Vlasov @ 2002-12-05 16:42 UTC (permalink / raw)
To: community
On Thu, 05 Dec 2002 19:33:24 +0300
"Maxim A. Telegin" <maximtel@ibpm.pushchino.ru> wrote:
> Здравствуйте,
> Тут вот понадобилось скомпилировать программку. Она подключает что-то из </usr/include/gtk--> А оттуда файл proxy.h хочет чего-то из <sigc++/что-то там> В /usr/include есть только /sigc++-1.0
> Не подскажете, как правильно все скомпилировать?
В пакете gtk-- дожен быть скрипт gtkmm-config (вроде бы он так
называется). При вызове с опцией --cflags он выдает нужные опции
компиляции; с опцией --libs - опции компоновки.
Аналогичный скрипт есть и для sigc++: sigc-config. Хотя все опции
оттуда должны быть и в gtkmm-config.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2002-12-06 9:04 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 16:33 [COMM] gtk-- и sigc++ Maxim A. Telegin
2002-12-05 16:35 ` aen
2002-12-05 16:42 ` Maxim A. Telegin
2002-12-05 16:47 ` Someone Unknown
2002-12-05 16:49 ` aen
2002-12-05 16:56 ` Someone Unknown
2002-12-05 16:52 ` aen
2002-12-05 16:58 ` [COMM] [JT] " Someone Unknown
2002-12-05 17:05 ` Maxim A. Telegin
2002-12-06 6:39 ` Someone Unknown
2002-12-06 9:04 ` Maxim A. Telegin
2002-12-06 6:46 ` [COMM] " Someone Unknown
2002-12-05 16:42 ` Sergey Vlasov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git