Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Fernando de Oliveira
--- Em ter, 13/11/12, Armin K. escreveu:

 De: Armin K.
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List
 Data: Terça-feira, 13 de Novembro de 2012, 13:51
 On 11/13/2012 05:49 PM, Fernando de
 Oliveira wrote:
  checking for GLIB - version = 2.33.1... no
  *** Could not run GLIB test program, checking why...
  *** The test program failed to compile or link. See the
 file config.log for the
  *** exact error that occured. This usually means GLIB
 is incorrectly installed.
  configure: error: GLIB 2.33.1 or later is required to
 build libsoup
 
  []s,
  Fernando
 
 
 Can you post your config.log ? Anyways, I've upgraded glib
 and libsoup 
 few hours ago to latest available versions. But, I doubt it
 will help 
 anything there.

Armin, I have it erased, glib-2.34.1 installed, so libsoup-2.40.1 has 
configured , mde and installed properly.

Thus, I have trimmed a copy of the whole build log to just the first unfinished 
one and attached, perhaps it will be enough.

[]s,
Fernando

libsoup-2.40.1-2012.11.13-blfs-dev.log
Description: Binary data
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Fernando de Oliveira
--- Em ter, 13/11/12, Fernando de Oliveira escreveu:

 De: Fernando de Oliveira
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List
 Data: Terça-feira, 13 de Novembro de 2012, 14:01
 --- Em ter, 13/11/12, Armin K.
 escreveu:
 
  De: Armin K.
  Assunto: Re: [blfs-dev] libsoup-2.40.1
  Para: BLFS Development List
  Data: Terça-feira, 13 de Novembro de 2012, 13:51
  On 11/13/2012 05:49 PM, Fernando de
  Oliveira wrote:
   checking for GLIB - version = 2.33.1... no
   *** Could not run GLIB test program, checking
 why...
   *** The test program failed to compile or link.
 See the
  file config.log for the
   *** exact error that occured. This usually means
 GLIB
  is incorrectly installed.
   configure: error: GLIB 2.33.1 or later is required
 to
  build libsoup
  
   []s,
   Fernando
  
  
  Can you post your config.log ? Anyways, I've upgraded
 glib
  and libsoup 
  few hours ago to latest available versions. But, I
 doubt it
  will help 
  anything there.
 
 Armin, I have it erased, glib-2.34.1 installed, so
 libsoup-2.40.1 has configured , mde and installed properly.
 
 Thus, I have trimmed a copy of the whole build log to just
 the first unfinished one and attached, perhaps it will be
 enough.

One more thing: in configure I have --sysconfdir=/etc just for historical 
reasons.


[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Armin K.
On 11/13/2012 06:01 PM, Fernando de Oliveira wrote:

 Armin, I have it erased, glib-2.34.1 installed, so libsoup-2.40.1 has 
 configured , mde and installed properly.

 Thus, I have trimmed a copy of the whole build log to just the first 
 unfinished one and attached, perhaps it will be enough.


Apparently you were missing either glib pkg-config files (.pc ones) or 
development headers. This was error in your config.log

configure:12019: checking for GLIB - version = 2.33.1
configure:12152: result: no
configure:12180: gcc -o conftest -g -O2conftest.c   5
conftest.c:24:18: fatal error: glib.h: No such file or directory

Glad you've fixed it.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Fernando de Oliveira
--- Em ter, 13/11/12, Armin K. escreveu:

 De: Armin K. kre...@email.com
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List
 Data: Terça-feira, 13 de Novembro de 2012, 16:33
 On 11/13/2012 06:01 PM, Fernando de
 Oliveira wrote:
 
  Armin, I have it erased, glib-2.34.1 installed, so
 libsoup-2.40.1 has configured , mde and installed properly.
 
  Thus, I have trimmed a copy of the whole build log to
 just the first unfinished one and attached, perhaps it will
 be enough.
 
 
 Apparently you were missing either glib pkg-config files
 (.pc ones) or 
 development headers. This was error in your config.log
 
 configure:12019: checking for GLIB - version = 2.33.1
 configure:12152: result: no
 configure:12180: gcc -o conftest -g -O2   
 conftest.c   5
 conftest.c:24:18: fatal error: glib.h: No such file or
 directory
 
 Glad you've fixed it.

Thanks, Armin, for your attention.

But they both are there (I left VMWLFS7.1 with libsoup in its older
version for a while, to discuss better this matter):

$ find /usr -name glib.h  -exec ls -lh {} \; -o -name glib\*.pc -exec ls -lh {} 
\; 2/dev/null
-rw-r--r-- 1 root root 3,3K Mai  8  2012 /usr/include/glib-2.0/glib.h
-rw-r--r-- 1 root root 392 Mai  8  2012 /usr/lib/pkgconfig/glib-2.0.pc
-rw-r--r-- 1 root root 579 Abr 17  2012 /usr/lib/pkgconfig/glibmm-2.4.pc

Problem was with the version, as I understood in the first reference to
the error. That is the reason I upgraded it, so fixed the problem.

My real question is related to the libsoup's Required section in the
book.

If a package A cannot be built for some dependency B is missing or
obsolete, should not it be included as required directly?

I did not need to upgrade any other dependency, just glib-2.32.3 to
glib-2.34.1.

[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Armin K.
Dana 13.11.2012 21:43, Fernando de Oliveira je napisao:
 --- Em ter, 13/11/12, Armin K. escreveu:

 De: Armin K. kre...@email.com
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List
 Data: Terça-feira, 13 de Novembro de 2012, 16:33
 On 11/13/2012 06:01 PM, Fernando de
 Oliveira wrote:

 Armin, I have it erased, glib-2.34.1 installed, so
 libsoup-2.40.1 has configured , mde and installed properly.

 Thus, I have trimmed a copy of the whole build log to
 just the first unfinished one and attached, perhaps it will
 be enough.


 Apparently you were missing either glib pkg-config files
 (.pc ones) or
 development headers. This was error in your config.log

 configure:12019: checking for GLIB - version = 2.33.1
 configure:12152: result: no
 configure:12180: gcc -o conftest -g -O2
 conftest.c   5
 conftest.c:24:18: fatal error: glib.h: No such file or
 directory

 Glad you've fixed it.

 Thanks, Armin, for your attention.

 But they both are there (I left VMWLFS7.1 with libsoup in its older
 version for a while, to discuss better this matter):

 $ find /usr -name glib.h  -exec ls -lh {} \; -o -name glib\*.pc -exec ls -lh 
 {} \; 2/dev/null
 -rw-r--r-- 1 root root 3,3K Mai  8  2012 /usr/include/glib-2.0/glib.h
 -rw-r--r-- 1 root root 392 Mai  8  2012 /usr/lib/pkgconfig/glib-2.0.pc
 -rw-r--r-- 1 root root 579 Abr 17  2012 /usr/lib/pkgconfig/glibmm-2.4.pc

 Problem was with the version, as I understood in the first reference to
 the error. That is the reason I upgraded it, so fixed the problem.

 My real question is related to the libsoup's Required section in the
 book.

 If a package A cannot be built for some dependency B is missing or
 obsolete, should not it be included as required directly?

 I did not need to upgrade any other dependency, just glib-2.32.3 to
 glib-2.34.1.

 []s,
 Fernando


It really depends on a package. If you are upgrading, I suggest that you 
upgrade everything or you might get strange results at runtime.

Required packages ARE required, recommended are recommended and you're 
on your own if you don't install some of them. The instructions are 
originaly meant to pick up where LFS left off, so we set dependencies 
according to it.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Fernando de Oliveira
--- Em ter, 13/11/12, Armin K. kre...@email.com escreveu:

 De: Armin K. kre...@email.com
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List blfs-dev@linuxfromscratch.org
 Data: Terça-feira, 13 de Novembro de 2012, 18:01
 Dana 13.11.2012 21:43, Fernando de
 Oliveira je napisao:
  --- Em ter, 13/11/12, Armin K. escreveu:
 
  De: Armin K. kre...@email.com
  Assunto: Re: [blfs-dev] libsoup-2.40.1
  Para: BLFS Development List
  Data: Terça-feira, 13 de Novembro de 2012, 16:33
  On 11/13/2012 06:01 PM, Fernando de
  Oliveira wrote:
 
  Armin, I have it erased, glib-2.34.1 installed,
 so
  libsoup-2.40.1 has configured , mde and installed
 properly.
 
  Thus, I have trimmed a copy of the whole build
 log to
  just the first unfinished one and attached, perhaps
 it will
  be enough.
 
 
  Apparently you were missing either glib pkg-config
 files
  (.pc ones) or
  development headers. This was error in your
 config.log
 
  configure:12019: checking for GLIB - version =
 2.33.1
  configure:12152: result: no
  configure:12180: gcc -o conftest -g -O2
  conftest.c   5
  conftest.c:24:18: fatal error: glib.h: No such file
 or
  directory
 
  Glad you've fixed it.
 
  Thanks, Armin, for your attention.
 
  But they both are there (I left VMWLFS7.1 with libsoup
 in its older
  version for a while, to discuss better this matter):
 
  $ find /usr -name glib.h  -exec ls -lh {} \; -o
 -name glib\*.pc -exec ls -lh {} \; 2/dev/null
  -rw-r--r-- 1 root root 3,3K Mai  8  2012
 /usr/include/glib-2.0/glib.h
  -rw-r--r-- 1 root root 392 Mai  8  2012
 /usr/lib/pkgconfig/glib-2.0.pc
  -rw-r--r-- 1 root root 579 Abr 17  2012
 /usr/lib/pkgconfig/glibmm-2.4.pc
 
  Problem was with the version, as I understood in the
 first reference to
  the error. That is the reason I upgraded it, so fixed
 the problem.
 
  My real question is related to the libsoup's Required
 section in the
  book.
 
  If a package A cannot be built for some dependency B is
 missing or
  obsolete, should not it be included as required
 directly?
 
  I did not need to upgrade any other dependency, just
 glib-2.32.3 to
  glib-2.34.1.
 
  []s,
  Fernando
 
 
 It really depends on a package. If you are upgrading, I
 suggest that you 
 upgrade everything or you might get strange results at
 runtime.
 
 Required packages ARE required, recommended are recommended
 and you're 
 on your own if you don't install some of them. The
 instructions are 
 originaly meant to pick up where LFS left off, so we set
 dependencies 
 according to it.

Sorry, I have not made myself clear yet:

I am just following the book. But libsoup could not be installed without
glib.

I think glib should be *required* in libsoup. It cannot be built without
glib. At this moment, it is not in the required list in that page.

Configure script looks for it.

[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Fernando de Oliveira
--- Em ter, 13/11/12, Fernando de Oliveira escreveu:

 De: Fernando de Oliveira
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List
 Data: Terça-feira, 13 de Novembro de 2012, 18:26
 --- Em ter, 13/11/12, Armin K.
 escreveu:
 
  De: Armin K.
  Assunto: Re: [blfs-dev] libsoup-2.40.1
  Para: BLFS Development List
  Data: Terça-feira, 13 de Novembro de 2012, 18:01
  Dana 13.11.2012 21:43, Fernando de
  Oliveira je napisao:
   --- Em ter, 13/11/12, Armin K. escreveu:
  
   De: Armin K.
   Assunto: Re: [blfs-dev] libsoup-2.40.1
   Para: BLFS Development List
   Data: Terça-feira, 13 de Novembro de 2012,
 16:33
   On 11/13/2012 06:01 PM, Fernando de
   Oliveira wrote:
  
   Armin, I have it erased, glib-2.34.1
 installed,
  so
   libsoup-2.40.1 has configured , mde and
 installed
  properly.
  
   Thus, I have trimmed a copy of the whole
 build
  log to
   just the first unfinished one and attached,
 perhaps
  it will
   be enough.
  
  
   Apparently you were missing either glib
 pkg-config
  files
   (.pc ones) or
   development headers. This was error in your
  config.log
  
   configure:12019: checking for GLIB - version
 =
  2.33.1
   configure:12152: result: no
   configure:12180: gcc -o conftest -g -O2
   conftest.c   5
   conftest.c:24:18: fatal error: glib.h: No such
 file
  or
   directory
  
   Glad you've fixed it.
  
   Thanks, Armin, for your attention.
  
   But they both are there (I left VMWLFS7.1 with
 libsoup
  in its older
   version for a while, to discuss better this
 matter):
  
   $ find /usr -name glib.h  -exec ls -lh {} \; -o
  -name glib\*.pc -exec ls -lh {} \; 2/dev/null
   -rw-r--r-- 1 root root 3,3K Mai  8  2012
  /usr/include/glib-2.0/glib.h
   -rw-r--r-- 1 root root 392 Mai  8  2012
  /usr/lib/pkgconfig/glib-2.0.pc
   -rw-r--r-- 1 root root 579 Abr 17  2012
  /usr/lib/pkgconfig/glibmm-2.4.pc
  
   Problem was with the version, as I understood in
 the
  first reference to
   the error. That is the reason I upgraded it, so
 fixed
  the problem.
  
   My real question is related to the libsoup's
 Required
  section in the
   book.
  
   If a package A cannot be built for some dependency
 B is
  missing or
   obsolete, should not it be included as required
  directly?
  
   I did not need to upgrade any other dependency,
 just
  glib-2.32.3 to
   glib-2.34.1.
  
   []s,
   Fernando
  
  
  It really depends on a package. If you are upgrading,
 I
  suggest that you 
  upgrade everything or you might get strange results at
  runtime.
  
  Required packages ARE required, recommended are
 recommended
  and you're 
  on your own if you don't install some of them. The
  instructions are 
  originaly meant to pick up where LFS left off, so we
 set
  dependencies 
  according to it.
 
 Sorry, I have not made myself clear yet:
 
 I am just following the book. But libsoup could not be
 installed without
 glib.
 
 I think glib should be *required* in libsoup. It cannot be
 built without
 glib. At this moment, it is not in the required list in that
 page.
 
 Configure script looks for it.
 

Now, if you tell me that I am wrong, glib is not required directly or
something like this with the reason, I will thank you very much for
educating me.

[]s,
Fernando



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Armin K.
Dana 13.11.2012 22:26, Fernando de Oliveira je napisao:
 --- Em ter, 13/11/12, Armin K. kre...@email.com escreveu:

 De: Armin K. kre...@email.com
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List blfs-dev@linuxfromscratch.org
 Data: Terça-feira, 13 de Novembro de 2012, 18:01
 Dana 13.11.2012 21:43, Fernando de
 Oliveira je napisao:
 --- Em ter, 13/11/12, Armin K. escreveu:

 De: Armin K. kre...@email.com
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List
 Data: Terça-feira, 13 de Novembro de 2012, 16:33
 On 11/13/2012 06:01 PM, Fernando de
 Oliveira wrote:

 Armin, I have it erased, glib-2.34.1 installed,
 so
 libsoup-2.40.1 has configured , mde and installed
 properly.

 Thus, I have trimmed a copy of the whole build
 log to
 just the first unfinished one and attached, perhaps
 it will
 be enough.


 Apparently you were missing either glib pkg-config
 files
 (.pc ones) or
 development headers. This was error in your
 config.log

 configure:12019: checking for GLIB - version =
 2.33.1
 configure:12152: result: no
 configure:12180: gcc -o conftest -g -O2
 conftest.c   5
 conftest.c:24:18: fatal error: glib.h: No such file
 or
 directory

 Glad you've fixed it.

 Thanks, Armin, for your attention.

 But they both are there (I left VMWLFS7.1 with libsoup
 in its older
 version for a while, to discuss better this matter):

 $ find /usr -name glib.h  -exec ls -lh {} \; -o
 -name glib\*.pc -exec ls -lh {} \; 2/dev/null
 -rw-r--r-- 1 root root 3,3K Mai  8  2012
 /usr/include/glib-2.0/glib.h
 -rw-r--r-- 1 root root 392 Mai  8  2012
 /usr/lib/pkgconfig/glib-2.0.pc
 -rw-r--r-- 1 root root 579 Abr 17  2012
 /usr/lib/pkgconfig/glibmm-2.4.pc

 Problem was with the version, as I understood in the
 first reference to
 the error. That is the reason I upgraded it, so fixed
 the problem.

 My real question is related to the libsoup's Required
 section in the
 book.

 If a package A cannot be built for some dependency B is
 missing or
 obsolete, should not it be included as required
 directly?

 I did not need to upgrade any other dependency, just
 glib-2.32.3 to
 glib-2.34.1.

 []s,
 Fernando


 It really depends on a package. If you are upgrading, I
 suggest that you
 upgrade everything or you might get strange results at
 runtime.

 Required packages ARE required, recommended are recommended
 and you're
 on your own if you don't install some of them. The
 instructions are
 originaly meant to pick up where LFS left off, so we set
 dependencies
 according to it.

 Sorry, I have not made myself clear yet:

 I am just following the book. But libsoup could not be installed without
 glib.

 I think glib should be *required* in libsoup. It cannot be built without
 glib. At this moment, it is not in the required list in that page.

 Configure script looks for it.

 []s,
 Fernando


We tend to use dependency chains.

On libsoup page it says that it depends on glib-networking.

glib-networking itself depends on gsettings-desktop-schemas

gsettings-desktop-schemas depends on glib.

So, you should have had glib installed before you've built libsoup or 
you didn't build mentioned deps.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Bruce Dubbs
Armin K. wrote:
 Dana 13.11.2012 22:26, Fernando de Oliveira je napisao:
 --- Em ter, 13/11/12, Armin K. kre...@email.com escreveu:

 I am just following the book. But libsoup could not be installed without
 glib.

 I think glib should be *required* in libsoup. It cannot be built without
 glib. At this moment, it is not in the required list in that page.

 Configure script looks for it.

 We tend to use dependency chains.

 On libsoup page it says that it depends on glib-networking.

 glib-networking itself depends on gsettings-desktop-schemas

 gsettings-desktop-schemas depends on glib.

 So, you should have had glib installed before you've built libsoup or
 you didn't build mentioned deps.

Guys, please trim your responses.

I'd like to add that we should only use required packages in the 
dependency chains.  As Armin shows above, that is true for libsoup.

   -- Bruce




-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Fernando de Oliveira
--- Em ter, 13/11/12, Armin K. escreveu:

 De: Armin K.
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List
 Data: Terça-feira, 13 de Novembro de 2012, 19:20
 Dana 13.11.2012 22:26, Fernando de
 Oliveira je napisao:

...

 We tend to use dependency chains.
 
 On libsoup page it says that it depends on glib-networking.
 
 glib-networking itself depends on gsettings-desktop-schemas
 
 gsettings-desktop-schemas depends on glib.
 
 So, you should have had glib installed before you've built
 libsoup or 
 you didn't build mentioned deps.

Thanks, Armin.

That clarifies everything.

Really appreciate your reply.

[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] libsoup-2.40.1

2012-11-13 Thread Fernando de Oliveira
--- Em ter, 13/11/12, Bruce Dubbs escreveu:

 De: Bruce Dubbs
 Assunto: Re: [blfs-dev] libsoup-2.40.1
 Para: BLFS Development List
 Data: Terça-feira, 13 de Novembro de 2012, 19:27

 
 Guys, please trim your responses.

Ok. (I did trim the latest, at least.)

 I'd like to add that we should only use required packages in
 the 
 dependency chains.  As Armin shows above, that is
 true for libsoup.

Yes, I wrote in that message that finally understood. Thank you too, Bruce.


[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page