Warning Symfony2.2.*: proc_open(): CreateProcess failed, error code - 267 "vendor\symfony\symfony\src\Symfony\Component\Process\Process.php" line 248 - process

I have an old "2.2.*" symfony project which I will add some modifications.
As a first step:
1/ I made the necessary installation:
-/WampServer 3.2.6 - 64bit,
-/Composer version 2.2.18,
-/Windows 11 Pro
2/ I cloned the project in my "PC"
3/ command: composer install
4/command: C:\wamp64\www\Portal%20Web>php app/console server:run
=> I got the following error:
//**** vendor\symfony\symfony\src\Symfony\Component\Process\Process.php ****//

Related

After make an npm update the console shows Error: Module not found: Error: Can't resolve 'angular2-moment'

I was trying to install jquery on my Angular project and after write some jquery dependency on package.json doc and type npm update, the console says Error: Module not found: Error: Can't resolve 'angular2-moment'.
Error occurs in the template of component RegisterComponent.
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
× Failed to compile.
✔ Browser application bundle generation complete.
Initial Chunk Files | Names | Raw Size
main.js | main | 83.62 kB |
runtime.js | runtime | 6.51 kB |
4 unchanged chunks
Build at: 2023-01-10T02:39:00.432Z - Hash: 2a1b1b37176d6913 - Time: 536ms
./src/app/app.module.ts:7:0-47 - Error: Module not found: Error: Can't resolve 'angular2-moment' in 'C:\Users\xxxxxx\Desktop\Proyectos IT\registro_cintas\client\src\app'
Error: src/app/app.component.html:6:34 - error NG8002: Can't bind to 'routerLink' since it isn't a known property of 'a'.
6 <a class="link-home" [routerLink]="['/home']">
continue...
~~~~~~~~~~~~~~~~~~~~~~~~
I tryed installing ngx-moment, angular2-moment again or uninstalling this last one algo I erase the entire folder and made a git clone from the last working commit but nothing, I think the angular2-moment it's not compatible with my Angular version but I don't know what to do.

Syntax error in yaml lib after updating google-cloud-sdk

After running: sudo apt-get upgrade I got:
Setting up google-cloud-sdk (274.0.1-0) ... Compiling
platform/bq/third_party/yaml/lib3/init.py ... File
"platform/bq/third_party/yaml/lib3/init.py", line 284
class YAMLObject(metaclass=YAMLObjectMetaclass):
^ SyntaxError: invalid syntax
Processing triggers for man-db (2.8.5-2) ...
I have Debian GNU/Linux 10
This is a bug on the new version of the SDK.
It is already being tracked by the Google Engineering Team on the issue tracker on this link: https://issuetracker.google.com/issues/146447037

How can I figure out why Linenoise is failing to install?

This is on 64-bit Windows 10 Pro with MSVC 2015. This question has a long body because I want to give full information up front, but the actual question is rather straightforward:
How can I get panda to keep the working directory around (like cpanmdoes) after an install failure so I can diagnose what went wrong?
As you can see from the log below, linenoise.dll seems to be created in the right place, but come install time, it is nowhere to be found.
The .panda-work directory in %TEMP% is gone.
I just built Rakudo from source by doing
git clone git://github.com/rakudo/rakudo.git
cd rakudo
set CFLAGS=/O2 /favor:INTEL64 /Qpar
perl Configure.pl --gen-moar --gen-nqp --backends=moar --prefix=c:/opt/perl6
nmake test
nmake install
nmake spectest ← The number of failures has gone up since the last time I tried this, but that's not related to my question
Then I installed panda by doing:
git clone --recursive git://github.com/tadzik/panda.git
cd panda
perl6 bootstrap.pl
which worked.
Then I did
panda install Task::Star
I got a test failure:
==> Building NativeHelpers::Blob
==> Testing NativeHelpers::Blob
t/00-trivial.t ..
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 1/1 subtests
but I force installed that because I wanted to get to as complete an install as possible as quickly as possible.
So, forging ahead, I hit this:
C:\Users\...\Temp> panda install Linenoise
==> Fetching Linenoise
==> Building Linenoise
Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved.
cl -c /nologo /MT /Ox /GL /DNDEBUG /DWIN32 /DAO_ASSUME_WINDOWS98 /O2 /favor:INTEL64 /Qpar /Folinenoise.obj linenoise.c
linenoise.c
perl6 -e "mkdir 'resources'; mkdir 'resources/libraries'"
link /dll /nologo /LTCG shell32.lib ws2_32.lib mswsock.lib rpcrt4.lib advapi32.lib psapi.lib iphlpapi.lib userenv.lib /out:resources/libraries/libline
noise.dll linenoise.obj
Generating code
Finished generating code
cl /Foconstant-helper /nologo /MT /Ox /GL /DNDEBUG /DWIN32 /DAO_ASSUME_WINDOWS98 /O2 /favor:INTEL64 /Qpar constant-helper.c
constant-helper.c
Generating code
Finished generating code
perl6 fill-constants.pl lib/Linenoise.pm
==> Testing Linenoise
==> Installing Linenoise
Failed to open file C:\Users\...\Temp\.panda-work\1483278033_1\resources\libraries\linenoise.dll: no such file or directory
in any at C:\opt\perl6/share/perl6/runtime/CORE.setting.moarvm line 1
in block at C:\opt\perl6\share\perl6\site\sources\85367160D11E565B2D089507C79BC309215430D6 (Panda::Installer) line 61
in sub indir at C:\opt\perl6\share\perl6\site\sources\24811C576EF8F85E7672B26955C802BB2FC94675 (Panda::Common) line 20
in method install at C:\opt\perl6\share\perl6\site\sources\85367160D11E565B2D089507C79BC309215430D6 (Panda::Installer) line 42
in method install at C:\opt\perl6\share\perl6\site\sources\582CB7486602954A4601BDCE5A0EAC54B05DA58A (Panda) line 190
in method resolve at C:\opt\perl6\share\perl6\site\sources\582CB7486602954A4601BDCE5A0EAC54B05DA58A (Panda) line 263
in sub MAIN at C:\opt\perl6\share\perl6\site\resources\1C71F7B377C6F2C6C4707E3C25016AA25A2926B1 line 20
in block at C:\opt\perl6\share\perl6\site\resources\1C71F7B377C6F2C6C4707E3C25016AA25A2926B1 line 165
Actually thrown at:
in method throw at C:\opt\perl6/share/perl6/runtime/CORE.setting.moarvm line 1
in any at gen/moar/Metamodel.nqp line 3072
in block at C:\opt\perl6\share\perl6\site\sources\85367160D11E565B2D089507C79BC309215430D6 (Panda::Installer) line 61
in sub indir at C:\opt\perl6\share\perl6\site\sources\24811C576EF8F85E7672B26955C802BB2FC94675 (Panda::Common) line 20
in method install at C:\opt\perl6\share\perl6\site\sources\85367160D11E565B2D089507C79BC309215430D6 (Panda::Installer) line 42
in method install at C:\opt\perl6\share\perl6\site\sources\582CB7486602954A4601BDCE5A0EAC54B05DA58A (Panda) line 190
in method resolve at C:\opt\perl6\share\perl6\site\sources\582CB7486602954A4601BDCE5A0EAC54B05DA58A (Panda) line 263
in sub MAIN at C:\opt\perl6\share\perl6\site\resources\1C71F7B377C6F2C6C4707E3C25016AA25A2926B1 line 20
in block at C:\opt\perl6\share\perl6\site\resources\1C71F7B377C6F2C6C4707E3C25016AA25A2926B1 line 165
The Build.pm file for Linenoise is simply not written correctly. They are hard-coding the 'lib' prefix to the library name while also trying to use the platform library name guessing mechanism in another part. If it wants to use $*VM.platform-library-name then it needs to generate a file named linenoise.dll, not liblinenoise.dll
I'm also not sure that Linenoise works on windows even if it did install.
You should probably be using zef instead of panda. If you were, you could view the working directory used at ~/.zef/store/p6-linenoise.git

OS X - 10.10.4 ld: symbol(s) not found for architecture x86_64

I am installing NS2 2.35 in my macbook having OS X 10.10.4. The Xcode which i have install is Xcode 6.4. While installing I am getting following error:
ld: symbol (s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [octlsh] Error 1
octl-1.14 make failed! Exiting...
From the following link I have downloaded NS2:
https://drive.google.com/file/d/0B7S255p3kFXNSGJCZ2YzUGJDVk0/view
Following steps I have use to install NS2:
Install Xcode
Unzip or untar ns-2.35 using the command "tar zxvf ns-allinone-2.35-xxx.tar.gz" (without quotes)
The ns-2.35 configuration files contains the path to xlibdir and xincdir, so you need not include the path for those directories.
kindly ensure that the path to xlibdir and xincdir are installed on your Mac OS(Xcode)
execute the command ./install inside the directory (~ns-allinone-2.35-xxx/) (use terminal to install) .
Once installed successfully, the path setting information will be provided to you. copy those informations and put it in a file called .profile or .bash_profile (please note that there is a dot in these files)
finally execute the command "source .profile" (wihtout quotes) and logout and login back.
After step 5 i.e. ./install i got above mentioned error.
Kindly help me to solve this problem.
clang: error: linker command failed with exit code 1
The version you got is my "Oct 2014 update" ns-allinone-2.35_gcc482.tar.gz, for gcc/g++ versions 4.6 .. 5.2 . Not clang, AFAIK.
Path´s : # cd ns-2.35/ && make install ; cd ../nam-1.15/ && make install
P.S. : There's a patch for OS X 10 → http://myns2work.blogspot.dk/2013/08/installing-ns-235-on-mountain-lion-and.html
Ref. Google, ns-allinone-2.35 with OS X 10 https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=ns-allinone-2.35+with+OS+X+10

Error when installing RMySQL on Windows 7

I have followed the instructions on this website for installing RMySQL on my 64 bit Windows 7 machine: http://www.ahschulz.de/2013/07/23/installing-rmysql-under-windows/
However I get the following error message: Any ideas? I have searched for some time for an answer with no luck - I wonder if the problem is the lack of a file called x86_64-w64-mingw32-gcc but I cannot figure out where this should come from or be stored.
install.packages("RMySQL", type = "source")
Installing package(s) into ‘C:/Users/lokell/Documents/R/win-library/2.14’
(as ‘lib’ is unspecified)
Warning: dependency ‘DBI’ is not available
trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/RMySQL_0.10.2.tar.gz'
Content type 'application/x-gzip' length 52150 bytes (50 Kb)
opened URL
downloaded 50 Kb
* installing *source* package 'RMySQL' ...
** package 'RMySQL' successfully unpacked and MD5 sums checked
** libs
rm -f RMySQL-init.o connection.o db-apply.o driver.o exception.o fields.o result.o utils.o
"C:/PROGRA~1/R/R-214~1.1/bin/x64/Rscript.exe" "../tools/winlibs.R"
x86_64-w64-mingw32-gcc -I"C:/PROGRA~1/R/R-214~1.1/include" -I../windows/libmariadbclient-2.1.0/include -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c RMySQL-init.c -o RMySQL-init.o
x86_64-w64-mingw32-gcc: not found
make: *** [RMySQL-init.o] Error 127
ERROR: compilation failed for package 'RMySQL'
* removing 'C:/Users/lokell/Documents/R/win-library/2.14/RMySQL'
The downloaded packages are in
‘C:\Users\lokell\AppData\Local\Temp\RtmpkPZRnB\downloaded_packages’
Warning messages:
1: running command 'C:/PROGRA~1/R/R-214~1.1/bin/x64/R CMD INSTALL -l "C:/Users/lokell/Documents/R/win-library/2.14" C:\Users\lokell\AppData\Local\Temp\RtmpkPZRnB/downloaded_packages/RMySQL_0.10.2.tar.gz' had status 1
2: In install.packages("RMySQL", type = "source") :
installation of package ‘RMySQL’ had non-zero exit status