GithubHelp home page GithubHelp logo

Comments (10)

theory avatar theory commented on June 30, 2024

I get the same thing:

> pgenv build 11beta4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20.1M  100 20.1M    0     0  5352k      0  0:00:03  0:00:03 --:--:-- 5352k
configure: error: invalid package name: perl  PERL

Probably something related to the recent changes in #14, eh @fluca1978?

from pgenv.

fluca1978 avatar fluca1978 commented on June 30, 2024

It was not a problem of the #14 pull request, rather a problem of variable quoting when passing multiple values to configure.

from pgenv.

theory avatar theory commented on June 30, 2024

Thank you @fluca1978, mo betta now.

from pgenv.

fleetside72 avatar fleetside72 commented on June 30, 2024

thanks so much

from pgenv.

theory avatar theory commented on June 30, 2024

Crap, no, that didn't work. Now I end up without perl compiled in, and the root directory is named pgsql-11beta4 --with-perl PERL=/usr/bin/perl, which is no good.

I spent some time trying to figure out how to make the _OPTS variables into arrays, instead (as suggested here), but was unable to find an effective way to serialize them in pgenv_configuration_write_variable() (typeset works only with global variables, while typeset -p outputs additional crap we don't want in the config file, I presume). More information here.

At this point, I think we have to figure out some other way too get the quoting right. :-(

from pgenv.

fluca1978 avatar fluca1978 commented on June 30, 2024

I get this working removing all quoting, I suspect it is something clashing with single quotes in the configuration file and the usage of double quoting in variable interpolation. I've build 11beta4 fine adding also some other flags in the configuration just to test configure was behaving well.
If works as expected, please close the issue.

from pgenv.

theory avatar theory commented on June 30, 2024

73d286b isn't merged into master, @fluca1978.

Meanwhile, I see other issues:

$ pgenv restart
/Users/david/pg/bin/pgenv: line 280: s/^pgsql-//: No such file or directory
pg_ctl: too many command-line arguments (first is "")
Try "pg_ctl --help" for more information.
$ pgenv stop      
/Users/david/pg/bin/pgenv: line 280: s/^pgsql-//: No such file or directory
pg_ctl: too many command-line arguments (first is "")
Try "pg_ctl --help" for more information.
$ pgenv version
/Users/david/pg/bin/pgenv: line 280: s/^pgsql-//: No such file or directory

from pgenv.

fluca1978 avatar fluca1978 commented on June 30, 2024

Sorry, I've temperature and should not be wroking on this...
I've fixed the pg_ctl issue, at least is working fine on my system. Could you confirm?

from pgenv.

theory avatar theory commented on June 30, 2024

Oh, I guess I might've broken that one, sorry.

from pgenv.

theory avatar theory commented on June 30, 2024

Yes, looks like 73d286b fixed it, thanks!

from pgenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.