Forum > General
Installing with FPCUp
argb32:
Hi!
I making a FPC auto-install feature and try to use FPCUp for this but it fails both on Linux and Windows.
On Linux (Ubuntu 15.10) I get the following error log:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---=== fpcup: info: Running make all install for FPC:=== Executing : make "--jobs=4" "FPC=/home/me/fpc/fpc/bootstrap/ppcx64" "--directory=/home/me/fpc/fpc/up" "INSTALL_PREFIX=/home/me/fpc/fpc/up" "INSTALL_BINDIR=/home/me/fpc/fpc/up/bin/x86_64-linux" "OVERRIDEVERSIONCHECK=1" "OPT=-Sg -vi-n-h- " "all" "install" (working dir: /home/me/fpc/fpc/up)=== make: Entering directory '/home/me/fpc/fpc/up'=== Makefile:29: *** You need the GNU utils package to use this Makefile. Stop.=== make: Leaving directory '/home/me/fpc/fpc/up'=== === fpcup: info: FPC: Running fpc make all install failed with exit code 512=== Details: === fpcup: ERROR: Error running BuildModuleCustom for module FPC=== fpcup: info: Error running fpcup. Technical details: error executing sequence FPC; line: 5, param: FPC=== fpcup: info: Error running fpcup. Technical details: error executing sequence Only; line: 1, param: FPC=== Fpcup failed.
binutils as well as build-essential packages are installed. Does someone have any ideas what is going wrong?
On Windows (Windows 7 64-bit) the error log is:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---=== fpcup: WARNING: No OpenSLL library files available. Going to download them=== fpcup: info: Going to download C:\Users\IEUser\AppData\Local\Temp\TMP00000.tmp.zip from URL: http://indy.fulgan.com/SSL/openssl-1.0.2e-i386-win32.zip=== fpcup: info: Download http(s) result: 403; for URL: http://indy.fulgan.com/SSL/openssl-1.0.2e-i386-win32.zip=== fpcup: WARNING: Could not find svn executable in or under C:\dist\fpc\fpc\binutils\svn\=== fpcup: info: Going to download SVN=== fpcup: info: Going to download C:\Users\IEUser\AppData\Local\Temp\TMP00000.tmp.zip from URL: https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip=== fpcup: info: Download http(s) result: 500; for URL: https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip=== fpcup: info: ERROR downloading SVN client from https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip=== fpcup: ERROR: Could not find SVN executable. Please make sure it is installed.=== fpcup: info: Error running fpcup. Technical details: error executing sequence FPC; line: 2, param: FPC=== fpcup: info: Error running fpcup. Technical details: error executing sequence Only; line: 1, param: FPC=== Fpcup failed.
The problem seems to be in the OpenSSL link:
http://indy.fulgan.com/SSL/openssl-1.0.2e-i386-win32.zip
Now it is protected with captcha and can't be downloaded automaitcally. The 500 error with subversion download link probably caused by failed OpenSSL download as in a browser it downloads successfully.
But what I should do with this?
settings file used:
--- Code: ---[stable]
fpcdir=/home/me/fpc/fpc/up
fpcurl=http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
; Do not create a batch file with shortcut
fpcuplinkname=""
; We can use the binutils/bootstrap dirs that we usually use:
binutilsdir=/home/me/fpc/fpc/binutils
fpcbootstrapdir=/home/me/fpc/fpc/bootstrap
; Just install/update, no questions asked:
noconfirm=true
; In case you want to submit patches, it's nice to be able to update
; without overwriting your fixes:
keeplocalchanges=true
; Specify we only want FPC, not Lazarus
; in case of fpc patches FPCBuildOnly
; Use fpc -Px86_64 for cross compiling to 64 bit.
only=FPC
skip=helplazarus,lazarus,lazbuild,useride
--- End code ---
argb32:
I've attached full log with --verbose option for Linux 64-bit.
Work and bootstrap directories were empty before running FPCUp.
Edit: attached windows log.
DonAlfredo:
Well, it's rather easy, because your logfiles tell it all !
Linux:
"You need the GNU utils package to use this Makefile"
E.g. the FPC makefile cannot find the pwd utility that comes with the utils package.
To test: just run pwd from your command prompt, after you have installed the utils.
Windows:
"Download http(s) result: 403; for URL: http://indy.fulgan.com/SSL/openssl-1.0.2e-i386-win32.zip"
"ERROR downloading SVN client from https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip"
The necessary openssl files and svn client cannot be downloaded due to unknown reasons.
First, make sure that they can be downloaded. Then, try to run fpcup again.
rvk:
--- Quote from: DonAlfredo on June 25, 2016, 02:46:31 pm ---The necessary openssl files and svn client cannot be downloaded due to unknown reasons.
--- End quote ---
I just checked. indy.fulgan.com resolves to ip 104.25.208.9 which is in fact protected by the service CloudFlare. CloudFlare protects against DDOS and other malicious access. When a connection is suspect it will show a captcha screen. (prove indy.fulgan.com is protected by CloudFlare: https://censys.io/ipv4/104.25.208.9)
DonAlfredo:
Thanks !
Any idea how to solve / circumvent ?
Navigation
[0] Message Index
[#] Next page