Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several config scripts are not portable yet #12

Closed
6 tasks done
sharkwouter opened this issue Nov 29, 2021 · 3 comments
Closed
6 tasks done

Several config scripts are not portable yet #12

sharkwouter opened this issue Nov 29, 2021 · 3 comments

Comments

@sharkwouter
Copy link
Member

sharkwouter commented Nov 29, 2021

The following files still have references to absolute paths:

  • psp/bin/libpng16-config
  • psp/bin/libpng-config
  • psp/bin/libmikmod-config
  • psp/lib/pkgconfig/expat.pc
  • psp/lib/pkgconfig/libxmp.pc
  • psp/lib/pkgconfig/libpng16.pc

Source:

➜  pspdev grep -r psp-packages .
Binary file ./psp/bin/unzzip-big matches
Binary file ./psp/bin/zzxorcat matches
Binary file ./psp/bin/zzdir matches
./psp/bin/libpng16-config:prefix="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp"
./psp/bin/libpng16-config:exec_prefix="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp"
./psp/bin/libpng16-config:libdir="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp/lib"
./psp/bin/libpng16-config:includedir="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp/include/libpng16"
Binary file ./psp/bin/unzzip-mix matches
./psp/bin/libpng-config:prefix="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp"
./psp/bin/libpng-config:exec_prefix="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp"
./psp/bin/libpng-config:libdir="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp/lib"
./psp/bin/libpng-config:includedir="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp/include/libpng16"
Binary file ./psp/bin/zzxordir matches
Binary file ./psp/bin/zzcat matches
./psp/bin/libmikmod-config:prefix=/__w/psp-packages/psp-packages/libmikmod/pkg/libmikmod/psp
Binary file ./psp/bin/unzzip-mem matches
Binary file ./psp/bin/unzzip matches
Binary file ./psp/bin/unzip-mem matches
Binary file ./psp/bin/zzxorcopy matches
Binary file ./psp/lib/libAngelscript.a matches
./psp/lib/pkgconfig/expat.pc:prefix=/__w/psp-packages/psp-packages/expat/pkg/expat/psp
./psp/lib/pkgconfig/libxmp.pc:prefix=/__w/psp-packages/psp-packages/libxmp/pkg/libxmp/psp
./psp/lib/pkgconfig/libxmp.pc:libdir=/__w/psp-packages/psp-packages/libxmp/pkg/libxmp/psp/lib
./psp/lib/pkgconfig/libxmp.pc:includedir=/__w/psp-packages/psp-packages/libxmp/pkg/libxmp/psp/include
./psp/lib/pkgconfig/libpng16.pc:prefix=/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp
@carstene1ns
Copy link
Member

At least the pkgconfig files should not matter, paths are relocated in pkgconf:
https://github.com/pspdev/psp-pkgconf/blob/master/libpkgconf/personality.c#L93-L108

@sharkwouter
Copy link
Member Author

Oh that is cool. I am having some issues using psp-pkgconf on Ubuntu 20.04 when using the pre-compiled toolchain, though. It seems to require me to compile it myself.

Here is the error, in case it's worth making an issue for:

wouter@wouter-XPS-15-9500:~$ psp-pkgconf
psp-pkgconf: symbol lookup error: psp-pkgconf: undefined symbol: pkgconf_cross_personality_deinit

@sharkwouter sharkwouter changed the title Several pkgconf files and config scripts are not portable yet Several config scripts are not portable yet Dec 7, 2021
@sharkwouter
Copy link
Member Author

This has been fixed now. The pc files are not a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants