Re: Automake help to find boost_regexp needed

2020-06-22 Thread Eduardo M KALINOWSKI
On 21/06/2020 18:43, Andreas Tille wrote:
> Hi,
>
> in the Debian Med Covid-19 sprint I'm trying to package ufasta[1].
> Unfortunately the configure step leads to
>
>
>checking for libboost_regex... no
>
>
> I wonder what I'm doing wrong here.

Well, is libboost-regex-dev (or an specific version) installed?


-- 
"I don't care who does the electing as long as I get to do the nominating."
-- Boss Tweed

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Automake help to find boost_regexp needed

2020-06-22 Thread Andreas Tille
Hi,

On Mon, Jun 22, 2020 at 04:06:56PM +0800, 铜豌豆 Linux wrote:
>     In my computer, I use dpkg-buildpackage,

A, probably on your computer is pkg-config installed.
Added to Build-Depends - works.  Thanks for the inspiring information.
 
> ./dgrep.cc:11: multiple definition of `dgrep_main(int, char**)';
> dgrep.o:./dgrep.cc:11: first defined here

That's caused by my patch which was done to "provoke" and error
when boost is not found.

Thank you for your help

  Andreas.

-- 
http://fam-tille.de



Re: Automake help to find boost_regexp needed

2020-06-22 Thread 铜豌豆 Linux
Hi,

    In my computer, I use dpkg-buildpackage,

[...]
checking for libboost_regex... yes
[...]

But I meet the other errors:

g++ -std=c++0x -g -O3 -std=c++0x -g -O2
-fdebug-prefix-map=/home/atzlinux/devel/offical/ufasta=.
-fstack-protector-strong -Wformat -Werror=format-security -I/usr/include
-lboost_regex -Wl,-z,relro -o ufasta ufasta.o common.o one.o sizes.o
head.o tail.o rc.o n50.o extract.o format.o sort.o dgrep.o dsort.o
split.o rsort.o hgrep.o dgrep.o 
/usr/bin/ld: dgrep.o: in function
`boost::exception_detail::error_info_injector::error_info_injector(boost::exception_detail::error_info_injector
const&)':
./dgrep.cc:11: multiple definition of `dgrep_main(int, char**)';
dgrep.o:./dgrep.cc:11: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:639:ufasta] 错误 1
make[2]: 离开目录“/home/atzlinux/devel/offical/ufasta”
make[1]: *** [Makefile:542:all] 错误 2
make[1]: 离开目录“/home/atzlinux/devel/offical/ufasta”
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:21:build] 错误 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2

I use Debian 10.4 stable.

dpkg -l|grep libboost

ii  libboost-regex-dev:amd64  
1.67.0.1 amd64    regular
expression library for C++ (default version)
ii  libboost-regex1.67-dev:amd64  
1.67.0-13+deb10u1    amd64    regular
expression library for C++
ii  libboost-regex1.67.0:amd64
1.67.0-13+deb10u1    amd64    regular
expression library for C++
ii  libboost1.67-dev:amd64
1.67.0-13+deb10u1    amd64    Boost C++
Libraries development files

The attachment is my buildlog.

在 2020/6/22 上午5:43, Andreas Tille 写道:
> Hi,
>
> in the Debian Med Covid-19 sprint I'm trying to package ufasta[1].
> Unfortunately the configure step leads to
>
>
> checking for libboost_regex... no
>
>
> I wonder what I'm doing wrong here.
>
> Kind regards
>
> Andreas.
>
>
> [1] https://salsa.debian.org/med-team/ufasta
>
-- 
肖盛文 xiao sheng wen Faris Xiao 微信(wechat):atzlinux
《铜豌豆 Linux》 基于 Debian 的 Linux 中文桌面操作系统:https://www.atzlinux.com
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com
GnuPG Public Key: 0x339240CB



ufasta_0.0.3+git20190131.85d60d1-1_amd64.buildlog
Description: Binary data


signature.asc
Description: Binary data


signature.asc
Description: OpenPGP digital signature


Automake help to find boost_regexp needed

2020-06-21 Thread Andreas Tille
Hi,

in the Debian Med Covid-19 sprint I'm trying to package ufasta[1].
Unfortunately the configure step leads to


   checking for libboost_regex... no


I wonder what I'm doing wrong here.

Kind regards

Andreas.


[1] https://salsa.debian.org/med-team/ufasta

-- 
http://fam-tille.de