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

Build fails #7

Open
adventmedia opened this issue Nov 16, 2014 · 8 comments
Open

Build fails #7

adventmedia opened this issue Nov 16, 2014 · 8 comments

Comments

@adventmedia
Copy link

Running the build command as specified in the readme results in this error:

Fatal error: Call-time pass-by-reference has been removed in /Users/andrew/Downloads/WebYep-master/release-building/make_release.php on line 150
Home-Mac:WebYep-master andrew$ release-building/make_release.php

@maxfancourt
Copy link

Hi Andrew what are you trying to build? a new dreamweaver plugin a rapid weaver plugin or the whole lot
Kind regards Max

@adventmedia
Copy link
Author

the whole lot - don't need the plugins. just executing the build command as explained in the readme

@obdev
Copy link
Collaborator

obdev commented Nov 17, 2014

Please edit the script make_release.php and remove all occurrences of &$ with just $ (in this particular script only). Please tell me whether that fixes the problem.

@adventmedia
Copy link
Author

ok yes, that fixes the problem. Now I need to know what version to specify - where is that information? Am I just supposed to guess? Is 1.7.2 the most recent?

@adventmedia
Copy link
Author

I tried running this:
release-building/make_release.php -r 1.7.2 -omitDW -omitRW

Ran partially then aborted:

fatal error in line 316 - aborting

@maxfancourt
Copy link

yep I am getting the same error line 316

Last login: Mon Nov 17 12:54:18 on ttys000
You have new mail.
Max-Fancourts-Mac-Pro:GitHub-WY max$ release-building/make_release.php -r 1.7.2-patched
External dependency RWPluginUtilities framework not found!
Disabling RapidWeaver Plugin.External dependency Adobe Extension Manager CS5 application not found!
Disabling Dreamweaver Plugin.----------------------------------------------------------
Creating release 1.7.2-patched:
----------------------------------------------------------
----------------------------------------------------------
Creating "opt" folder... done.
Copying german version... done.
Copying english version... done.
Setting up english version... done.
==========================================================
Creating documentation packages:
* english...cp: ../webyep-dwx/Shared/WebYep/Help/english: No such file or directory

fatal error in line 316 - aborting

Max-Fancourts-Mac-Pro:GitHub-WY max$ 

and checking that corresponds with

system("cp -R -p ../webyep-dwx/Shared/WebYep/Help/english $sDocuFolder", $iRet); if ($iRet != 0) fatal(__LINE__);

I checked and that directory does exist

max

@obdev
Copy link
Collaborator

obdev commented Nov 18, 2014

Intertesting...
I've fixed the call-time pass by reference arguments (and pushed them to the server, BTW), and the script succeeds without error on my computer.

Cp complains that webyep-dwx/Shared/WebYep/Help/english does not exist, and you say it does exist. Have you checked uppercase/lowercase spelling?

@bcneb
Copy link

bcneb commented Dec 10, 2015

I think I found a solution to this problem, which I also had. I replaced:

system("cp -R -p ../webyep-dwx/Shared/WebYep/Help/english $sDocuFolder", $iRet); if ($iRet != 0) fatal(LINE);

with

system("cp -R -p '$sourceRootDir/webyep-dwx/Shared/WebYep/Help/english' '$sDocuFolder'", $iRet); if ($iRet != 0) fatal(LINE);

and everything works fine now.

Ben.

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

3 participants