On ven, gen 17, 2014 at 05:17:30 -0500, Benjamin Moody wrote: > I'd really like to see the underlying issue here fixed. (Specifically > I'd like to have i386 and amd64 -dev packages installed, and usable, > at the same time.) I'll be happy to provide patches if that will > help. > > So from what I can tell there are 4 problems: > > 1. curl-config
I have a seemingly working patch for curl-config that basically makes it use pkg-config internally (I had to patch libcurl.pc as well for the --configure thing, but it's not that much of a problem). This means that the -dev packages now depend on pkg-config as well, but pkg-config gets installed already anyway because of libidn11-dev. This could probably be implemented by using grep+sed on libcurl.pc directly, but I don't think it would make any difference. > 4. curlbuild.h: The simplest way to fix this would be to move all of > /usr/include/curl/ to /usr/include/<triplet>/curl/. Yes, that would be my preferred solution as well. And yes, every compiler should support this. On the flip side this makes curl-config --cflags print: -I/usr/include/x86_64-linux-gnu I have no idea what happens when both i386 and amd64 versions of the package gets installed though. This basically depends on what pkg-config does in this situation. Incidentally, pkg-config is not multi-arch ready yet (#726598) (and possibly many of the -dev dependencies of libcurl -dev packages), so this whole exercise wouldn't lead to any actual benefit until those are fixed as well. Cheers -- perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
signature.asc
Description: Digital signature