Opened 2 weeks ago

Closed 48 minutes ago

#5782 closed enhancement (fixed)

Move pcre from BLFS to LFS

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 12.5
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

We need this as a dependency of grep and less.

Change History (6)

comment:1 by zeckma, 2 weeks ago

To Thomas Trepl, for MLFS, this will need m32 and mx32 steps.

It is as simple as adding:

CC="gcc -m32" CXX="g++ -m32"           \
...

And specifying --host=i686-pc-linux-gnu. Of course, m32 specific. Simply changing the arch to mx32 will work for mx32. The installation step is typical to most of it's ilk, such as:

make DESTDIR=$PWD/DESTDIR install     &&
cp -vR DESTDIR/usr/lib32/* /usr/lib32 &&
rm -rf DESTDIR

For a more in-depth reference, see https://glfs-book.github.io/glfs/shareddeps/pcre2.html which includes a lib32 (m32) step.

Last edited 2 weeks ago by zeckma (previous) (diff)

comment:2 by Xi Ruoyao, 2 weeks ago

IMO another package that we may want to move is sqlite. Python can use it and some package in BLFS already require python to be built with sqlite installed.

The only difficulty seems in LFS we've no unzip to extract the optional documentation.

in reply to:  2 comment:3 by zeckma, 2 weeks ago

Replying to Xi Ruoyao:

IMO another package that we may want to move is sqlite. Python can use it and some package in BLFS already require python to be built with sqlite installed.

If it's possible, this is something that I'd like to see happen. Doing it at the same time as all the others may be pushing it. Nevertheless, it'd make things much easier for me to work with. Perhaps an email or discussion on IRC would be a great place to discuss moving SQLite.

comment:4 by thomas, 2 weeks ago

I've created a branch from the ML-book named prepare-ml-12.5. The pcre2-page is located in ch8 right before grep.

You can take the pcre2.xml as is for trunk - just remove the two <sect2> marked with arch="ml_32,ml_all" and arch="ml_x32,ml_all" respectively.

In this branch, we could integrate the other packages and drop others which move to BLFS, too if we want to prepare that for 12.5.

comment:5 by Bruce Dubbs, 44 hours ago

Owner: changed from lfs-book to Bruce Dubbs
Status: newassigned

comment:6 by Bruce Dubbs, 48 minutes ago

Resolution: fixed
Status: assignedclosed

This is done for LFS. I still need to remove it from BLFS, but closing here.

Fixed at commit 04d7d7ed28.

Note: See TracTickets for help on using tickets.