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
Using space as a separator in $Config{libpth} makes troubles #10492
Comments
From @kmxCreated by @kmxHi, I have a kind of objection to using "space" as item separator in The trouble occurs when any it the libpth item already contains D:\strawberry512\c\lib D:\strawberry512\c\i686-w64-mingw32\lib And as you can guess if any of the directories contains a space I have two suggestions: 1/ using $Config{path_sep} as a separator for $Config{libpth} value 2/ creating a new item $Config{libpth...} which value will be Any feedback welcome -- Perl Info
|
From @doughera88On Sun, 18 Jul 2010, kmx wrote:
Yes, many spots in perl's Configure assume directory names don't contain
Since that's not backward compatible, I'd rather not go that route.
That sounds sensible, but is this the only variable for which this has Thanks, -- |
The RT System itself - Status changed from 'new' to 'open' |
From @csjewellAndy, right now, we have to program in a restriction to Strawberry We (kmx and I) would like to be able to get rid of that restriction, if To answer your question, no, the equivalent of the 'configure' script is And yes, I agree with you in thinking what kmx proposed as option 2 kmx: I think the next step would be to determine what other variables -- "Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c Strawberry Perl for Windows betas: http://strawberryperl.com/beta/ |
From @kmxDne 19.7.2010 19:43, Andy Dougherty via RT napsal(a):
The troubles do not happen during perl configure/build (see comments by The most critical is ExtUtils::MM|Liblist|CBuilder (I do not know which I do not blame those modules as currently there is no easy way how to
OK.
I'll do a research on all other variables to check for the same issue. Thanks for feedback. -- |
From @sisyphus----- Original Message -----
Not that I'm suggesting it's an "easy way" to decode the correct value (and Hmmm ... actually, I've just assumed something that I don't know to be so. I guess another solution would be to have $Config{libpth} populated with the Cheers, |
From @csjewellOn Tue Jul 20 02:26:40 2010, sisyphus1@optusnet.com.au wrote:
Except for the fact that GetShortPathName() is not guaranteed to return Note Not all file systems follow the tilde substitution convention, and |
From @b2gillsOn Tue, Jul 20, 2010 at 4:24 AM, Sisyphus <sisyphus1@optusnet.com.au> wrote:
There is are some potential problems with using the short name. In other words, it isn't nearly as reliable as just having a path |
From @sisyphus----- Original Message -----
I don't see the relevance of that wrt building perl from source, or wrt the Mind you, I'm not even sure that my contribution to this thread contains From the point of view of building perl from source (on a machine where And from the point of view of the Strawberry installer, I was envisaging
Yes, and it amazes me that people still put stuff in paths containing Cheers, |
From @kmx
Here are the result of my research - at least the following %Config libpth I have analysed 5.12.3 and the problem seem to be wider than just Perhaps the beginning of 5.15/5.16 era is a good point to make changes -- |
From @markdootsonHi, Isn't this already handled by simply providing the paths in the format e.g. If I want to use a mingw compiler on Windows and set the libpth libpth => qq(\"$pathtomingw\\lib\" \"$pathtomingw\\$archlib\\lib\") or am I missing something deeper? (very possible) On 10/05/2011 01:14, kmx via RT wrote:
|
From @kmxDne 10.5.2011 16:51, Mark Dootson napsal(a):
Hi Mark, the trouble with $Config{libpth} is IMHO Windows specific (spaces are not After standard mingw build of perl you end up with: The think is that many CPAN authors (+ maybe also EU::MM, M::B, M::I) use As you can see setting My suggestion was to use a separator (e.g. $Config{path_sep}) instead of -- |
From @markdootsonOn 11/05/2011 08:46, kmx wrote:
Hi, I see your point. I'm only currently familiar with Linux/Windows/MacOSX. Given that an unknown number of CPAN modules incorrectly rely on 'no F.Y.I. As far as I'm aware, EU::MM and M::B seem to work with quoted On the other hand .... For Windows alone it would be nice to be able to install to 'Program Regards Mark |
Migrated from rt.perl.org#76558 (status was 'open')
Searchable as RT76558$
The text was updated successfully, but these errors were encountered: