rmunn | 1 Oct 08:08 2002
Picon

Compilation of wxWindows / wxGTK

If you ever include wxWindows (http://www.wxwindows.org) or wxGTK (the
GTK binding of wxWindows) in the BLFS book, here's what I had to do to
get it to compile.

I was using wxGTK version 2.2.9, the latest stable-release version as of
September 26, 2002 (when I downloaded it). I have not tested the most
current version of wxGTK, version 2.3.3, to discover if it has the same
issues or not -- but a straightforward "./configure --prefix=/usr ; make
; make install" did not work. The compile failed on file
src/common/fs_zip.cpp with the following error message:

In file included from ./src/common/fs_zip.cpp:34:
src/common/unzip.h:121: syntax error before `('
.
.
.
src/common/unzip.h:262: syntax error before `('

The vertical ellipses elide about a dozen or so copies of the same
error, with only line numbers changing. Doing a little research, I found
the following discussion thread was probably relevant:

http://psi.sourceforge.net/thread.php?forum=help&tid=33

What appears to be going on is that src/common/unzip.h (from the wxGTK
distribution) is #including <zlib.h>, which itself #includes <zconf.h>.
The CFLAGS and CXXFLAGS wxGTK's main Makefile specify /usr/X11R6/include
in the include search path, and so that's where gcc was picking up
zlib.h and zconf.h -- from the include files provided with XFree86
version 4.2.1. Those include files are for zlib version 1.0.8 (look for
(Continue reading)

rmunn | 1 Oct 08:20 2002
Picon

Re: Compilation of wxWindows / wxGTK

My bad, left something out:

On Tue, Oct 01, 2002 at 01:08:42AM -0500, rmunn <at> pobox.com wrote:
> If you ever include wxWindows (http://www.wxwindows.org) or wxGTK (the
> GTK binding of wxWindows) in the BLFS book, here's what I had to do to
> get it to compile.
> 
> I was using wxGTK version 2.2.9, the latest stable-release version as of
> September 26, 2002 (when I downloaded it). I have not tested the most
> current version of wxGTK, version 2.3.3, to discover if it has the same
> issues or not -- but a straightforward "./configure --prefix=/usr ; make
> ; make install" did not work. The compile failed on file
> src/common/fs_zip.cpp with the following error message:
> 
> In file included from ./src/common/fs_zip.cpp:34:
> src/common/unzip.h:121: syntax error before `('
> .
> .
> .
> src/common/unzip.h:262: syntax error before `('
> 
> The vertical ellipses elide about a dozen or so copies of the same
> error, with only line numbers changing. Doing a little research, I found
> the following discussion thread was probably relevant:
> 
> http://psi.sourceforge.net/thread.php?forum=help&tid=33
> 
> What appears to be going on is that src/common/unzip.h (from the wxGTK
> distribution) is #including <zlib.h>, which itself #includes <zconf.h>.
> The CFLAGS and CXXFLAGS wxGTK's main Makefile specify /usr/X11R6/include
(Continue reading)

Tobias Stöckmann | 1 Oct 10:55 2002
Picon

Samba addition

I think it could be mentioned that samba will make use of cups,
if it's compiled before. At least this will be usefull, because it is mentioned:
"The Samba package provides file and print services to SMB/CIFS clients."

If a person is going to install cups anyway (for example kde-packages), it
would be usefull to install it right now.

Another addition would be the installation of "smbmount" and "smbumount".
I think that this was mentioned in an early version of BLFS, but
"./configure [...] --with-smbmount" doesn't work on my system. I have to use
following commands:

-----
make &&
make bin/smbmount &&
make bin/smbmnt &&
make bin/smbumount &&
make install &&
cp bin/{smbmount,smbmnt,smbumount} /usr/bin &&
-----

Another "problem" is that samba creates /usr/private and /usr/var,
also these directories will never be used by samba nor another package.
A simple:

rmdir /usr/{private,var}

will help.
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
(Continue reading)

Billy O'Connor | 1 Oct 12:54 2002
Picon

Re: Samba addition

tai.stoeck <at> web.de (Tobias Stöckmann) writes:

> I think it could be mentioned that samba will make use of cups,
> if it's compiled before. At least this will be usefull, because it is mentioned:
> "The Samba package provides file and print services to SMB/CIFS clients."
> 
> If a person is going to install cups anyway (for example kde-packages), it
> would be usefull to install it right now.
> 
> Another addition would be the installation of "smbmount" and "smbumount".
> I think that this was mentioned in an early version of BLFS, but
> "./configure [...] --with-smbmount" doesn't work on my system. I have to use
> following commands:
> 
> -----
> make &&
> make bin/smbmount &&
> make bin/smbmnt &&
> make bin/smbumount &&
> make install &&
> cp bin/{smbmount,smbmnt,smbumount} /usr/bin &&
> -----
> 
> Another "problem" is that samba creates /usr/private and /usr/var,
> also these directories will never be used by samba nor another package.
> A simple:
> 
> rmdir /usr/{private,var}
> 
> will help.
(Continue reading)

Tushar Teredesai | 1 Oct 17:43 2002
Picon

Re: Samba addition

Tobias Stöckmann wrote:

>Another addition would be the installation of "smbmount" and "smbumount".
>I think that this was mentioned in an early version of BLFS, but
>"./configure [...] --with-smbmount" doesn't work on my system. I have to use
>
WFM.

>Another "problem" is that samba creates /usr/private and /usr/var,
>also these directories will never be used by samba nor another package.
>  
>
I prefer the following since I use the pkg-user hint and the install 
fails since it cannot create the private directory.
    cp script/installbin.sh script/installbin.sh.orig
    sed -e "s:\$BASEDIR\/private::" script/installbin.sh.orig > 
script/installbin.sh

-- 
Tushar Teredesai
LFS ID: 1377
http://tushar.lfsforum.org/

--

-- 
Unsubscribe: send email to listar <at> linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message

Mark Hymers | 1 Oct 20:59 2002
Picon

Re: cvs 1.11.2 and zlib

On Tue, 13, Aug, 2002 at 06:26:39PM -0400, Michael Horbatsch spoke thus..
> Hi,
> 
> I noticed that cvs 1.11.2 (latest stable version) uses an internal static version
> of zlib. This is a waste if you have the shared library installed IMO, so I used
> the attached patch to link cvs against the system zlib. The patch was taken from
> the debian diff. I think that the BLFS book should mention this patch, since zlib
> is a part of LFS now.
> 

I've applied this change now, thanks.

Mark

-- 
Mark Hymers <markh at linuxfromscratch dot org>

"I got off at Durham... and fell in love with it instantly.  Why, it's 
 wonderful - a perfect little city.  If you have never been to Durham, go 
 there at once. Take my car. It's wonderful."
     Notes from a Small Island, Bill Bryson
--

-- 
Unsubscribe: send email to listar <at> linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message

Mark Hymers | 1 Oct 21:00 2002
Picon

Small entity change

Hi,

I've just changed the file-root entity.  Actually, it no longer exists.

We now have ffile-root and hfile-root which point to the ftp and http
versions respecively.

I've changed all checked in files to refer to the appropriate one.

Sorry for any inconvinience.

Mark

-- 
Mark Hymers <markh at linuxfromscratch dot org>

"I got off at Durham... and fell in love with it instantly.  Why, it's 
 wonderful - a perfect little city.  If you have never been to Durham, go 
 there at once. Take my car. It's wonderful."
     Notes from a Small Island, Bill Bryson
--

-- 
Unsubscribe: send email to listar <at> linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message

Mark Hymers | 1 Oct 21:45 2002
Picon

Re: Small entity change

On Tue, 01, Oct, 2002 at 08:00:30PM +0100, Mark Hymers spoke thus..
> Hi,
> 
> I've just changed the file-root entity.  Actually, it no longer exists.
> 
> We now have ffile-root and hfile-root which point to the ftp and http
> versions respecively.
> 
> I've changed all checked in files to refer to the appropriate one.
> 
> Sorry for any inconvinience.

As Jesse has just pointed out to me...

12:42 < <at> HIghoS> markh: ffile-root and hfile-root, why?
12:42 < <at> markh> HIghoS: so we can point to patches via ftp and http
12:42 < <at> HIghoS> Wouldn't it make more sense to just use ftp-root or
ftp-file-root?
12:42 < <at> markh> possibly ;-)
12:42 < <at> HIghoS> I know.  But ffile and hfile..is..well.
12:42 < <at> markh> yeah
12:42 < <at> markh> ok
12:42 < <at> HIghoS> Not very descriptive :P
12:42 < <at> markh> But I'll have to play with it all again when I redo the layouts
12:42  * HIghoS chuckles.
12:42 < <at> markh> which is next on my list
12:43 < <at> markh> this htmltidy thing was first, it's bugged me for a while
12:43  * HIghoS nods.
12:43 < <at> HIghoS> markh: You are going to change this thou, right?  (the ffile/hfile? :)
12:43 < <at> markh> yeah, when I sorts out the layout
(Continue reading)

dagmar | 1 Oct 22:39 2002
Picon

Re: Compilation of wxWindows / wxGTK

On Tue, 1 Oct 2002 rmunn <at> pobox.com wrote:

> If you ever include wxWindows (http://www.wxwindows.org) or wxGTK (the
> GTK binding of wxWindows) in the BLFS book, here's what I had to do to
> get it to compile.

This package is _so_ tangled up with respect to zlib and Freetype2 from
XFree86 it's just sad.  I tripped and fell over this one about six months
or so ago, and after running it through the devel list, about the best
thing that can be done is to simply build XFree86 to use the system zlib
an system Freetype2 libraries (as explained in the hint I wrote).

What's happening (in the case of both those things) is that when you have
a second version of either of those libraries in the system, wxWindows
gets tangled up trying to use the headers from /usr/include instead of
/usr/X11R6/include (and vice versa!) at different points, which results in
freakishly confusing errors popping up.

The somewhat less compilaion-intensive solution is to rip out the zlib.h
and zconf.h from /usr/X11R6/include for a little while and start your
build of wxWindows _completely_ over.

--

-- 
Unsubscribe: send email to listar <at> linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message

Mark Hymers | 1 Oct 23:26 2002
Picon

Change to book generation

Hi,

We now produce valid HTML!

I've implemented htmltidy into the build process for the book and
editor's guide and updated the editor's guide to demonstrate how we
create the valid HTML.

Htmltidy can be found at http://tidy.sf.net

A big thank-you to mca (Jeremy Jones) on #lfs for help with the sed
command to insert the Content-Type header.

Cheers,

Mark

-- 
Mark Hymers <markh at linuxfromscratch dot org>

"Well, the thing about a black hole - it's main distinguishing feature - is
 it's black. And the thing about space, your basic space colour is black. So
 how are you supposed to see them?"
     Holly, Red Dwarf Series III - Marooned
--

-- 
Unsubscribe: send email to listar <at> linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message


Gmane