Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282225 - dev-db/sqlite: Add "readline" USE flag
Summary: dev-db/sqlite: Add "readline" USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-21 18:14 UTC by Adam Bennett
Modified: 2009-09-07 22:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Bennett 2009-08-21 18:14:46 UTC
I have an embedded (uclibc) target where I don't have readline installed.  I would like to install sqlite without having to add the readline library.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-22 17:55:58 UTC
assigning to maintainers
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-22 18:23:01 UTC
dev-db/sqlite doesn't depend on sys-libs/readline.
Please explain your suggestion in more details.
Comment 3 Adam Bennett 2009-08-23 01:23:10 UTC
When sqlite3 is built, it is linked against sys-libs/readline.  I don't have the readline library on the embedded target that I use, and would rather not add (due to space limitations).  So, instead, I built sqlite with --disable-readline, then sqlite3 did not link against the readline library.

So, I'm suggesting that a readline USE flag be added to the sqlite ebuild that I can set to -readline.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2009-09-02 14:07:56 UTC
(In reply to comment #3)
> When sqlite3 is built, it is linked against sys-libs/readline.  I don't have
> the readline library on the embedded target that I use, and would rather not
> add (due to space limitations).  So, instead, I built sqlite with
> --disable-readline, then sqlite3 did not link against the readline library.
> 

Yeah there seems to be ./configure switch:

betelgeuse@pena /var/tmp/portage/dev-db/sqlite-3.6.17/work/sqlite-3.6.17 $ ./configure --help | grep readline
  --disable-readline      disable readline support [default=detect]
  --with-readline-lib     specify readline library
  --with-readline-inc     specify readline include paths
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-07 22:10:05 UTC
I added "readline" USE flag.