Такая тема уже была. Но проблема так и не решена.
Сис-ма FreeBSD 6.1
KDE 3.5.1
Kdevelop 3.3.1Не получается даже откомпилировать даже Hallo world
Компиляция Simple KDE Application ( Hello World ) на С++
завершается с ошибкой : gmake[] Error2 .Не знаю что делать даже.
Вот что пишет:
Good - your configure finished. Start make now
cd /root/test && /usr/local/bin/bash /root/test/admin/missing --run autoheader
rm -f stamp-h1
touch /root/test/config.h.in
cd . && /usr/local/bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
gmake all-recursive
Making all in src
compiling main.cpp (g++)
generating test.moc (moc)
compiling test.cpp (g++)
linking test (g++)
libtool: link: cannot find the library `'
gmake[2]: *** [test] Error 1
gmake[2]: Target `all' not remade because of errors.
Making all in po
gmake[2]: Nothing to be done for `all'.
Making all in doc
Making all in .
gmake[3]: Nothing to be done for `all-am'.
Making all in en
/usr/local/bin/meinproc --check --cache index.cache.bz2 /root/test/doc/en/index.docbook
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
*** Exited with status: 2 ***Что только не делал с libtool, ничего не компилиться.
Помогите плиз.
>Такая тема уже была. Но проблема так и не решена.
>
>
>Сис-ма FreeBSD 6.1
>KDE 3.5.1
>Kdevelop 3.3.1
>
>Не получается даже откомпилировать даже Hallo world
>Компиляция Simple KDE Application ( Hello World ) на С++
>завершается с ошибкой : gmake[] Error2 .
>
>Не знаю что делать даже.
>
>Вот что пишет:
>
>Good - your configure finished. Start make now
>
>cd /root/test && /usr/local/bin/bash /root/test/admin/missing --run autoheader
>rm -f stamp-h1
>touch /root/test/config.h.in
>cd . && /usr/local/bin/bash ./config.status config.h
>config.status: creating config.h
>config.status: config.h is unchanged
>gmake all-recursive
>Making all in src
>compiling main.cpp (g++)
>generating test.moc (moc)
>compiling test.cpp (g++)
>linking test (g++)
>libtool: link: cannot find the library `'
>gmake[2]: *** [test] Error 1
>gmake[2]: Target `all' not remade because of errors.
>Making all in po
>gmake[2]: Nothing to be done for `all'.
>Making all in doc
>Making all in .
>gmake[3]: Nothing to be done for `all-am'.
>Making all in en
>/usr/local/bin/meinproc --check --cache index.cache.bz2 /root/test/doc/en/index.docbook
>gmake[1]: *** [all-recursive] Error 1
>gmake: *** [all] Error 2
>*** Exited with status: 2 ***
>
>Что только не делал с libtool, ничего не компилиться.
>Помогите плиз.возьми стандартную из /usr/local/bin и всунь ее вместа кдевелопоской , должно заработать
Заработало, не понятно только почему так?
>
>Заработало, не понятно только почему так?Как решили проблему?
У меня ошибка, macro `AM_PROG_LIBTOOL' not found in libraryПохоже путаница с версиями atomake, autoconf, libtool
У меня установлены:
automake 1.9
autoconf 2.59
libtool 1.5
Цитата с забугорского форума по этому поводу - после патча все работает.Good catch - the libtool included in the application templates is too old. You
can download a patch for the kdevelop port here:
http://people.freebsd.org/~lofi/patch-appwizard-libtool - drop it
in /usr/ports/devel/kdevelop/files and recompile/reinstall the port, this
will fix new projects.For existing projects, you can work around the problem by going to the project
directory and replacing the included libtool with a symbolic link to the
system libtool, e.g.:cd ~/hello_kde/debug/
rm libtool
ln -s `which libtool`
>Цитата с забугорского форума по этому поводу - после патча все работает.
>
>
>
>
>Good catch - the libtool included in the application templates is too
>old. You
>can download a patch for the kdevelop port here:
>http://people.freebsd.org/~lofi/patch-appwizard-libtool - drop it
>in /usr/ports/devel/kdevelop/files and recompile/reinstall the port, this
>will fix new projects.
>
>For existing projects, you can work around the problem by going to
>the project
>directory and replacing the included libtool with a symbolic link to the
>
>system libtool, e.g.:
>
>cd ~/hello_kde/debug/
>rm libtool
>ln -s `which libtool`Вполне понтяно. Осталось только проверить