Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45230 - [ngspice] ngspice shared (so) library is not present

Attached to Project: Community Packages
Opened by Andrea Amorosi (AndreaA) - Saturday, 06 June 2015, 12:17 GMT
Last edited by Kyle Keen (keenerd) - Thursday, 11 June 2015, 23:57 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The package does not contain the ngspice shared .so library and so it is not possible to call it from other programs.

Additional info:

I've tried to add the --with-ngshared option in the PKGBUILD, but if it is present the make command creates only the .so library and not the executables.

I've tried to modified the PKGBUILD build() function in this way:

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-readline=yes \
--enable-xspice \
--with-ngshared \
--enable-cider \
--enable-openmp
make

cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-readline=yes \
--enable-xspice \
--enable-cider \
--enable-openmp
make
}

but I don't know if it is the correct way and how to package the results of the build so that to have also the .so files.

Can you help me, please?
Thank you.
This task depends upon

Closed by  Kyle Keen (keenerd)
Thursday, 11 June 2015, 23:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  ngspice-26-2
Comment by Kyle Keen (keenerd) - Thursday, 11 June 2015, 23:57 GMT
Yeah, that was one weird build system. I looked for a cleaner, single-pass build but couldn't get it to work. Went with your solution, thanks.

Loading...