Skip to content

Even though I installed libSBML, rbsml does not see it #415

Open
@gailrosen

Description

from my understanding, it is because there is no libsbml.pc made when it is compiled. Can you help me get the libsbml.pc file -- it is nowhere that I can find. (https://support.bioconductor.org/p/90197/)

library(libSBML)
BiocManager::getOptions("rbsml")
Error: 'getOptions' is not an exported object from 'namespace:BiocManager'
BiocManager::install("rsbml")
'getOption("repos")' replaces Bioconductor standard repositories, see
'help("repositories", package = "BiocManager")' for details.
Replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.20 (BiocManager 1.30.25), R 4.4.2 (2024-10-31)
Installing package(s) 'rsbml'
Package which is only available in source form, and may need compilation of
C/C++/Fortran: ‘rsbml’
Do you want to attempt to install these from sources? (Yes/no/cancel) Yes
installing the source package ‘rsbml’

trying URL 'https://bioconductor.org/packages/3.20/bioc/src/contrib/rsbml_2.64.0.tar.gz'
Content type 'application/x-gzip' length 684593 bytes (668 KB)

downloaded 668 KB

  • installing source package ‘rsbml’ ...
    ** package ‘rsbml’ successfully unpacked and MD5 sums checked
    ** using staged installation
    checking for pkg-config... /opt/homebrew/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for LIBSBML... no
    configure: error: Package requirements (libsbml >= 3.0.2) were not met:

Package 'libsbml' not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSBML_CFLAGS
and LIBSBML_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
ERROR: configuration failed for package ‘rsbml’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/rsbml’

The downloaded source packages are in
‘/private/var/folders/nd/skrfkw1d11scqbyc524s1q0r0000gn/T/Rtmpt8oo7B/downloaded_packages’
Warning message:
In install.packages(...) :
installation of package ‘rsbml’ had non-zero exit status

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions