Skip to content

luarocks install xml でインストールできない #187

@okkez

Description

@okkez

https://github.com/lubyk/xml

ちょっとタイトルと手元で実行したコマンドが違うけど。

$ luarocks install lua-requests
Warning: falling back to curl - install luasec to get native HTTPS support
Installing https://luarocks.org/lua-requests-1.2-0.src.rock
Missing dependencies for lua-requests 1.2-0:
   xml (not installed)
   luasec >= 0.5.1 (not installed)

lua-requests 1.2-0 depends on xml (not installed)
Installing https://luarocks.org/xml-1.1.3-1.src.rock

Error: Failed installing dependency: https://luarocks.org/xml-1.1.3-1.src.rock - Could not find library file for STDC++
  No file libstdc++.a in /usr/local/lib
  No file libstdc++.a in /usr/local/lib/x86_64-linux-gnu
  No file libstdc++.a in /usr/local/lib64
  No file libstdc++.so in /usr/local/lib
  No file libstdc++.so in /usr/local/lib/x86_64-linux-gnu
  No file libstdc++.so in /usr/local/lib64
  No file matching libstdc++.so.* in /usr/local/lib
  No file matching libstdc++.so.* in /usr/local/lib/x86_64-linux-gnu
  No file matching libstdc++.so.* in /usr/local/lib64
  No file libstdc++.a in /usr/lib
  No file libstdc++.a in /usr/lib/x86_64-linux-gnu
  No file libstdc++.a in /usr/lib64
  No file libstdc++.so in /usr/lib
  No file libstdc++.so in /usr/lib/x86_64-linux-gnu
  No file libstdc++.so in /usr/lib64
  No file matching libstdc++.so.* in /usr/lib
  No file matching libstdc++.so.* in /usr/lib/x86_64-linux-gnu
  No file matching libstdc++.so.* in /usr/lib64
  No file libstdc++.a in /lib
  No file libstdc++.a in /lib/x86_64-linux-gnu
  No file libstdc++.a in /lib64
  No file libstdc++.so in /lib
  No file libstdc++.so in /lib/x86_64-linux-gnu
  No file libstdc++.so in /lib64
  No file matching libstdc++.so.* in /lib
  No file matching libstdc++.so.* in /lib/x86_64-linux-gnu
  No file matching libstdc++.so.* in /lib64
You may have to install STDC++ in your system and/or pass STDC++_DIR or STDC++_LIBDIR to the luarocks command.
Example: luarocks install xml STDC++_DIR=/usr/local

https://github.com/lubyk/xml/blob/master/xml-1.1.3-1.rockspec#L61 を消すとインストールできるっぽい。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions