Opened 9 years ago

Closed 9 years ago

#123 closed defect (fixed)

sqlite 3: extra files installed

Reported by: john.marino Owned by:
Priority: major Milestone: 0.2.0
Component: Matreshka Version: 0.1.1
Keywords: install sqlite3 Cc:

Description

When switching an example build from postgresql to sqlite3, the following error messages were observed:

banshee-marino# gnatmake -d -P/usr/home/marino/testproj/testsql.gpr -XBUILD=RELEASE -XOPERATING_SYSTEM=POSIX -XARCHITECTURE=x86_64
sql_sqlite3.gpr:47:17: unit "matreshka.internals.strings.c" cannot belong to several projects
sql_sqlite3.gpr:47:17: project "sql_sqlite3", "/usr/local/include/matreshka/sql/sqlite3/matreshka-internals-strings-c.ads"
sql_sqlite3.gpr:47:17: project "league", "/usr/local/include/matreshka/league/matreshka-internals-strings-c.ads"
sql_sqlite3.gpr:47:17: unit "matreshka.internals.utf16" cannot belong to several projects
sql_sqlite3.gpr:47:17: project "sql_sqlite3", "/usr/local/include/matreshka/sql/sqlite3/matreshka-internals-utf16.adb"
sql_sqlite3.gpr:47:17: project "league", "/usr/local/include/matreshka/league/matreshka-internals-utf16.adb"

The fix was the following:
# rm /usr/local/include/matreshka/sql/sqlite3/matreshka-internals-utf16.adb
# rm /usr/local/include/matreshka/sql/sqlite3/matreshka-internals-strings-c.ads

The makefile.install file might need updating.

Change History (3)

comment:1 by vadim.godunko, 9 years ago

In [2016]:

Change way how list of source files is computed to exclude files from
other modules also.

Refs #123.

comment:2 by vadim.godunko, 9 years ago

In [2017]:

Merge change #2016 into 0.1.x branch.

Refs #123.

comment:3 by vadim.godunko, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.