* [Buildroot] expat is not correctly installed
@ 2007-08-09 22:27 Ivan Kuten
2007-08-11 14:07 ` [Buildroot] PATCH: correct expat DESTDIR , was ( expat is not correctly installed) Ivan Kuten
0 siblings, 1 reply; 6+ messages in thread
From: Ivan Kuten @ 2007-08-09 22:27 UTC (permalink / raw)
To: buildroot
Hello,
seems expat lib&includes are installed in wring location:
/usr/bin/make -j1 DESTDIR=/root/buildroot/build_arm/staging_dir/usr -C /root/buildroot/build_arm/expat-2.0.1 install
make[1]: Entering directory `/root/buildroot/build_arm/expat-2.0.1'
/bin/sh ./conftools/mkinstalldirs /root/buildroot/build_arm/staging_dir/usr/lib /root/buildroot/build_arm/staging_dir/usr/usr/include
/bin/sh ./libtool --mode=install /usr/bin/install -c libexpat.la /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.so.1.5.2 /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.so.1.5.2
(cd /root/buildroot/build_arm/staging_dir/usr/lib && { ln -s -f libexpat.so.1.5.2 libexpat.so.1 || { rm -f libexpat.so.1 && ln -s libexpat.so.1.5.2 libexpat.so.1; }; })
(cd /root/buildroot/build_arm/staging_dir/usr/lib && { ln -s -f libexpat.so.1.5.2 libexpat.so || { rm -f libexpat.so && ln -s libexpat.so.1.5.2 libexpat.so; }; })
/usr/bin/install -c .libs/libexpat.lai /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.a /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.a
chmod 644 /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.a
/root/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ranlib /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.a
libtool: install: warning: remember to run `libtool --finish /lib'
for FN in ./lib/expat.h ./lib/expat_external.h ; do /usr/bin/install -c -m 644 $FN /root/buildroot/build_arm/staging_dir/usr/usr/include ; done
/bin/sh ./conftools/mkinstalldirs /root/buildroot/build_arm/staging_dir/usr/usr/bin /root/buildroot/build_arm/staging_dir/usr/usr/man/man1
note: do /usr/bin/install -c -m 644 $FN /root/buildroot/build_arm/staging_dir/usr/usr/include
should be: do /usr/bin/install -c -m 644 $FN /root/buildroot/build_arm/staging_dir/usr/include
tested to be working ok with expat.mk revision 18589.
BR,
Ivan
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] PATCH: correct expat DESTDIR , was ( expat is not correctly installed)
2007-08-09 22:27 [Buildroot] expat is not correctly installed Ivan Kuten
@ 2007-08-11 14:07 ` Ivan Kuten
2007-08-11 17:43 ` Ulf Samuelsson
0 siblings, 1 reply; 6+ messages in thread
From: Ivan Kuten @ 2007-08-11 14:07 UTC (permalink / raw)
To: buildroot
Correct expat DESTDIR, otherwise it installed in staging_dir/usr/usr/include:
Index: package/expat/expat.mk
===================================================================
--- package/expat/expat.mk (revision 19426)
+++ package/expat/expat.mk (working copy)
@@ -53,7 +53,7 @@
touch -c $@
$(STAGING_DIR)/$(EXPAT_TARGET_BINARY): $(EXPAT_DIR)/$(EXPAT_BINARY)
- $(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(EXPAT_DIR) install
+ $(MAKE) DESTDIR=$(STAGING_DIR) -C $(EXPAT_DIR) install
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
$(STAGING_DIR)/usr/lib/libexpat.la
touch -c $@
Best regards,
Ivan
----------------------------------
> Hello,
>
> seems expat lib&includes are installed in wring location:
>
> /usr/bin/make -j1 DESTDIR=/root/buildroot/build_arm/staging_dir/usr -C /root/buildroot/build_arm/expat-2.0.1 install
> make[1]: Entering directory `/root/buildroot/build_arm/expat-2.0.1'
> /bin/sh ./conftools/mkinstalldirs /root/buildroot/build_arm/staging_dir/usr/lib /root/buildroot/build_arm/staging_dir/usr/usr/include
> /bin/sh ./libtool --mode=install /usr/bin/install -c libexpat.la /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.la
> /usr/bin/install -c .libs/libexpat.so.1.5.2 /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.so.1.5.2
> (cd /root/buildroot/build_arm/staging_dir/usr/lib && { ln -s -f libexpat.so.1.5.2 libexpat.so.1 || { rm -f libexpat.so.1 && ln -s libexpat.so.1.5.2 libexpat.so.1; }; })
> (cd /root/buildroot/build_arm/staging_dir/usr/lib && { ln -s -f libexpat.so.1.5.2 libexpat.so || { rm -f libexpat.so && ln -s libexpat.so.1.5.2 libexpat.so; }; })
> /usr/bin/install -c .libs/libexpat.lai /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.la
> /usr/bin/install -c .libs/libexpat.a /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.a
> chmod 644 /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.a
> /root/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ranlib /root/buildroot/build_arm/staging_dir/usr/lib/libexpat.a
> libtool: install: warning: remember to run `libtool --finish /lib'
> for FN in ./lib/expat.h ./lib/expat_external.h ; do /usr/bin/install -c -m 644 $FN /root/buildroot/build_arm/staging_dir/usr/usr/include ; done
> /bin/sh ./conftools/mkinstalldirs /root/buildroot/build_arm/staging_dir/usr/usr/bin /root/buildroot/build_arm/staging_dir/usr/usr/man/man1
>
>
> note: do /usr/bin/install -c -m 644 $FN /root/buildroot/build_arm/staging_dir/usr/usr/include
> should be: do /usr/bin/install -c -m 644 $FN /root/buildroot/build_arm/staging_dir/usr/include
>
> tested to be working ok with expat.mk revision 18589.
>
> BR,
> Ivan
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] PATCH: correct expat DESTDIR , was ( expat is not correctly installed)
2007-08-11 14:07 ` [Buildroot] PATCH: correct expat DESTDIR , was ( expat is not correctly installed) Ivan Kuten
@ 2007-08-11 17:43 ` Ulf Samuelsson
2007-08-11 18:07 ` Ivan Kuten
0 siblings, 1 reply; 6+ messages in thread
From: Ulf Samuelsson @ 2007-08-11 17:43 UTC (permalink / raw)
To: buildroot
l?r 2007-08-11 klockan 17:07 +0300 skrev Ivan Kuten:
> Correct expat DESTDIR, otherwise it installed in staging_dir/usr/usr/include:
>
>
> Index: package/expat/expat.mk
> ===================================================================
> --- package/expat/expat.mk (revision 19426)
> +++ package/expat/expat.mk (working copy)
> @@ -53,7 +53,7 @@
> touch -c $@
>
> $(STAGING_DIR)/$(EXPAT_TARGET_BINARY): $(EXPAT_DIR)/$(EXPAT_BINARY)
> - $(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(EXPAT_DIR) install
> + $(MAKE) DESTDIR=$(STAGING_DIR) -C $(EXPAT_DIR) install
> $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
> $(STAGING_DIR)/usr/lib/libexpat.la
> touch -c $@
>
>
> Best regards,
> Ivan
Your patches fail miserably, since your email client replaces tabs with
spaces. This means that patches have to be applied manually :-(
Best Regards
Ulf Samuelsson
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] PATCH: correct expat DESTDIR , was ( expat is not correctly installed)
2007-08-11 17:43 ` Ulf Samuelsson
@ 2007-08-11 18:07 ` Ivan Kuten
2007-08-11 19:38 ` [Buildroot] *FLAWED* " Cristian Ionescu-Idbohrn
0 siblings, 1 reply; 6+ messages in thread
From: Ivan Kuten @ 2007-08-11 18:07 UTC (permalink / raw)
To: buildroot
Ulf Samuelsson ?????:
> l?r 2007-08-11 klockan 17:07 +0300 skrev Ivan Kuten:
>> Correct expat DESTDIR, otherwise it installed in staging_dir/usr/usr/include:
>>
>>
>> Index: package/expat/expat.mk
>> ===================================================================
>> --- package/expat/expat.mk (revision 19426)
>> +++ package/expat/expat.mk (working copy)
>> @@ -53,7 +53,7 @@
>> touch -c $@
>>
>> $(STAGING_DIR)/$(EXPAT_TARGET_BINARY): $(EXPAT_DIR)/$(EXPAT_BINARY)
>> - $(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(EXPAT_DIR) install
>> + $(MAKE) DESTDIR=$(STAGING_DIR) -C $(EXPAT_DIR) install
>> $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
>> $(STAGING_DIR)/usr/lib/libexpat.la
>> touch -c $@
>>
>>
>> Best regards,
>> Ivan
>
> Your patches fail miserably, since your email client replaces tabs with
> spaces. This means that patches have to be applied manually :-(
>
> Best Regards
> Ulf Samuelsson
>
>
Hm, strange, i'm using thunderbird-2.0 with plain text messaging.
Anyway here is the same patch in the attachment.
BR,
Ivan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: expat_DESTDIR.patch
Url: http://busybox.net/lists/buildroot/attachments/20070811/dda2350d/attachment.diff
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] *FLAWED* Re: PATCH: correct expat DESTDIR , was ( expat is not correctly installed)
2007-08-11 18:07 ` Ivan Kuten
@ 2007-08-11 19:38 ` Cristian Ionescu-Idbohrn
2007-08-11 20:46 ` Ivan Kuten
0 siblings, 1 reply; 6+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-08-11 19:38 UTC (permalink / raw)
To: buildroot
On Sat, 11 Aug 2007, Ivan Kuten wrote:
> Ulf Samuelsson : l?r 2007-08-11 klockan 17:07 +0300 skrev Ivan Kuten:
> >
> > Your patches fail miserably, since your email client replaces tabs
> > with spaces. This means that patches have to be applied manually :-(
>
> Hm, strange, i'm using thunderbird-2.0 with plain text messaging.
Not strange at all. Here is the problem:
User-Agent: Thunderbird 2.0.0.6 (X11/20070728)
Content-Type: text/plain; charset=UTF-8; format=flowed
^^^^^^^^^^^^^ ^^^^^^^^^^^^^
Biggest problem is 'format=flowed'; that screws up _all_ inlined text.
This is a PITA with most mailers :(
You should really consider reconfiguring that:
,----[ user.js ]
| pref("mailnews.send_plaintext_flowed", false); // RFC 2646
| pref("mailnews.display.disable_format_flowed_support", true);
`----
so you avoid both sending and receiving flawed^H^H^H^Howed email.
utf-8 is also known to cause paines.
Cheers,
--
Cristian
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] *FLAWED* Re: PATCH: correct expat DESTDIR , was ( expat is not correctly installed)
2007-08-11 19:38 ` [Buildroot] *FLAWED* " Cristian Ionescu-Idbohrn
@ 2007-08-11 20:46 ` Ivan Kuten
0 siblings, 0 replies; 6+ messages in thread
From: Ivan Kuten @ 2007-08-11 20:46 UTC (permalink / raw)
To: buildroot
Cristian Ionescu-Idbohrn ?????:
> On Sat, 11 Aug 2007, Ivan Kuten wrote:
>
>> Ulf Samuelsson : l?r 2007-08-11 klockan 17:07 +0300 skrev Ivan Kuten:
>>> Your patches fail miserably, since your email client replaces tabs
>>> with spaces. This means that patches have to be applied manually :-(
>> Hm, strange, i'm using thunderbird-2.0 with plain text messaging.
>
> Not strange at all. Here is the problem:
>
> User-Agent: Thunderbird 2.0.0.6 (X11/20070728)
> Content-Type: text/plain; charset=UTF-8; format=flowed
> ^^^^^^^^^^^^^ ^^^^^^^^^^^^^
>
> Biggest problem is 'format=flowed'; that screws up _all_ inlined text.
> This is a PITA with most mailers :(
> You should really consider reconfiguring that:
>
> ,----[ user.js ]
> | pref("mailnews.send_plaintext_flowed", false); // RFC 2646
> | pref("mailnews.display.disable_format_flowed_support", true);
> `----
>
> so you avoid both sending and receiving flawed^H^H^H^Howed email.
> utf-8 is also known to cause paines.
>
>
> Cheers,
>
Cristian,
Thanks for hints, hope my next patch will be applied cleanly :-)
BR,
Ivan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-08-11 20:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-09 22:27 [Buildroot] expat is not correctly installed Ivan Kuten
2007-08-11 14:07 ` [Buildroot] PATCH: correct expat DESTDIR , was ( expat is not correctly installed) Ivan Kuten
2007-08-11 17:43 ` Ulf Samuelsson
2007-08-11 18:07 ` Ivan Kuten
2007-08-11 19:38 ` [Buildroot] *FLAWED* " Cristian Ionescu-Idbohrn
2007-08-11 20:46 ` Ivan Kuten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox