Recent

Author Topic: The installation failed  (Read 20175 times)

idc65

  • Jr. Member
  • **
  • Posts: 50
The installation failed
« on: July 07, 2013, 11:28:32 pm »
Hi

i have a fresh install ML 10.8.2 with xcode 4.6.2.

I can install the fpc2.6.2 xcode package

when i run fpc 2.6.2 install package, at about 90% of installation I get
Installation Failed.

anyone experience this.

If i try to install via fink I also get error
terminal log of fink

Any ideas???


Free Pascal Compiler version 2.6.2 [2013/07/07] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Darwin for i386
Compiling lazcontrols.pas
Compiling dividerbevel.pas
Assembling (pipe) lib/i386-darwin/carbon/dividerbevel.s
Compiling extendednotebook.pas
Assembling (pipe) lib/i386-darwin/carbon/extendednotebook.s
Compiling listfilteredit.pas
Assembling (pipe) lib/i386-darwin/carbon/listfilteredit.s
Compiling treefilteredit.pas
treefilteredit.pas(28,48) Error: Illegal expression
treefilteredit.pas(28,25) Error: Error in type definition
treefilteredit.pas(28,25) Fatal: Syntax error, ">" expected but "CLASS" found
Fatal: Compilation aborted
make[2]: *** [lazcontrols.ppu] Error 1
make[1]: *** [base] Error 2
make: *** [basecomponents] Error 2
### execution of /tmp/fink.UH3PJ failed, exit code 2
### execution of /tmp/fink.n7c6r failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-lazarus-aqua-1.0.10-1
(Reading database ... 18784 files and directories currently installed.)
Removing fink-buildlock-lazarus-aqua-1.0.10-1 ...
Failed: phase compiling: lazarus-aqua-1.0.10-1 failed




Also include the following system information:
Package manager version: 0.35.0
Distribution version: selfupdate-rsync Sun Jul  7 20:55:19 2013, 10.8, x86_64
Trees: local/main stable/main
Xcode.app: 4.6.2
Xcode command-line tools: 4.6.0.0.1.1365549073
lazarus-aqua-1.0.10-1 is set to build with only one job.

ians-Mac-Pro:~ ian$



kamischi

  • Full Member
  • ***
  • Posts: 177
Re: The installation failed
« Reply #1 on: July 07, 2013, 11:34:42 pm »
hi.

From the log i see, that you are using fink. So, it is my fault ;-) I do not have 10.8. Therefore, it is hard for me to test. My assumption is that there is no carbon. Can you try to build lazarus-gtk2 and tell, if that works?

MiSchi.
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

idc65

  • Jr. Member
  • **
  • Posts: 50
Re: The installation failed
« Reply #2 on: July 07, 2013, 11:42:58 pm »
Hi

I have just started

fink install lazarus-gtk2

I'll let you know how it gets on

idc65

  • Jr. Member
  • **
  • Posts: 50
Re: The installation failed
« Reply #3 on: July 08, 2013, 12:01:44 am »
UNfortunately was not able to download all required packages, kept timing out.



The following package will be installed or updated:
 lazarus-gtk2
The following 113 additional packages will be installed:
 

curl: (22) The requested URL returned error: 404
### execution of curl failed, exit code 22
Downloading the file "tcl8.5.14-src.tar.gz" failed.

(1)   Give up
(2)   Retry the same mirror
(3)   Retry another mirror from your country
(4)   Retry another mirror
(5)   Retry using next mirror set "sourceforge"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [3]
TIMEOUT: using default answer.
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O http://distfiles.sjc.ca.us.finkmirrors.net/tcl8.5.14-src.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
### execution of curl failed, exit code 22
Downloading the file "tcl8.5.14-src.tar.gz" failed.

(1)   Give up
(2)   Retry the same mirror
(3)   Retry another mirror
(4)   Retry using next mirror set "sourceforge"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [4]
TIMEOUT: using default answer.
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O http://downloads.sourceforge.net/tcl/tcl8.5.14-src.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 4422k  100 4422k    0     0   615k      0  0:00:07  0:00:07 --:--:--  810k
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O http://distfiles.sjc.ca.us.finkmirrors.net/tk8.5.14-src.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
### execution of curl failed, exit code 22
Downloading the file "tk8.5.14-src.tar.gz" failed.

(1)   Give up
(2)   Retry the same mirror
(3)   Retry another mirror
(4)   Retry using next mirror set "sourceforge"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [4] 3
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O http://distfiles.hel.fi.eu.finkmirrors.net/tk8.5.14-src.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0curl: (28) connect() timed out!
### execution of curl failed, exit code 28
Downloading the file "tk8.5.14-src.tar.gz" failed.

(1)   Give up
(2)   Retry the same mirror
(3)   Retry another mirror
(4)   Retry using next mirror set "sourceforge"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [4] 4
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O http://downloads.sourceforge.net/tcl/tk8.5.14-src.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3998k  100 3998k    0     0   640k      0  0:00:06  0:00:06 --:--:--  809k
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O http://distfiles.hel.fi.eu.finkmirrors.net/Test-Harness-3.28.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0curl: (28) connect() timed out!
### execution of curl failed, exit code 28
Downloading the file "Test-Harness-3.28.tar.gz" failed.

(1)   Give up
(2)   Retry the same mirror
(3)   Retry another mirror
(4)   Retry using next mirror set "cpan"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [4]
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O ftp://ftp.cpan.org/pub/CPAN/authors/id/O/OV/OVID/Test-Harness-3.28.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  291k  100  291k    0     0   129k      0  0:00:02  0:00:02 --:--:--  182k
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O http://distfiles.hel.fi.eu.finkmirrors.net/Test-Simple-0.98.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0curl: (28) connect() timed out!
### execution of curl failed, exit code 28
Downloading the file "Test-Simple-0.98.tar.gz" failed.

(1)   Give up
(2)   Retry the same mirror
(3)   Retry another mirror
(4)   Retry using next mirror set "cpan"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [4] 4
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O ftp://ftp.cpan.org/pub/CPAN/authors/id/M/MS/MSCHWERN/Test-Simple-0.98.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  104k  100  104k    0     0  44837      0  0:00:02  0:00:02 --:--:-- 46795
curl --connect-timeout 30 -f -L -A 'fink/0.35.0' -O http://distfiles.hel.fi.eu.finkmirrors.net/version-0.9902.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0curl: (28) connect() timed out!
### execution of curl failed, exit code 28
Downloading the file "version-0.9902.tar.gz" failed.

(1)   Give up
(2)   Retry the same mirror
(3)   Retry another mirror
(4)   Retry using next mirror set "cpan"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [4] 1


kamischi

  • Full Member
  • ***
  • Posts: 177
Re: The installation failed
« Reply #4 on: July 08, 2013, 12:51:36 am »
Hartnäckig dran bleiben. Master mirror klappt oft, oder einfach selber nach dem file googlen, downloaden und in das Verzeichnis /sw/src legen.
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

idc65

  • Jr. Member
  • **
  • Posts: 50
Re: The installation failed
« Reply #5 on: July 08, 2013, 08:06:28 am »
Hi

After a long long installation attempt, still errors with

Compiling treefilteredit.pas
treefilteredit.pas(28,48) Error: Illegal expression
treefilteredit.pas(28,25) Error: Error in type definition
treefilteredit.pas(28,25) Fatal: Syntax error, ">" expected but "CLASS" found
Fatal: Compilation aborted

Failed: phase compiling: lazarus-gtk2-1.0.10-1 failed

Any ideas? Or should i just wait a week or two before trying again.


kamischi

  • Full Member
  • ***
  • Posts: 177
Re: The installation failed
« Reply #6 on: July 08, 2013, 09:20:50 am »
After a long long installation attempt, still errors with

Compiling treefilteredit.pas
treefilteredit.pas(28,48) Error: Illegal expression
treefilteredit.pas(28,25) Error: Error in type definition
treefilteredit.pas(28,25) Fatal: Syntax error, ">" expected but "CLASS" found
Fatal: Compilation aborted

Failed: phase compiling: lazarus-gtk2-1.0.10-1 failed

Any ideas? Or should i just wait a week or two before trying again.
Sorry. Probably my fault again. I forgot that the carbon based lcl is also build with lazarus gtk. Can you make carbon available? Maybe by installing the SDK for 10.7? Another option would be to modify the package description for fink, file lazarus.info in /sw/fink/dists/10.7/stable/main/finkinfo/devel. Delete the lines with "LCL_PLATFORM=carbon"

I am afraid that i have to restructure the lazarus packages for 10.7/10.8 and this may take a while.
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

jwdietrich

  • Hero Member
  • *****
  • Posts: 1263
    • formatio reticularis
Re: The installation failed
« Reply #7 on: July 08, 2013, 09:36:53 am »
What is the advantage of using Fink?

For more than 5 years I use the Mac installers that are hosted at SoureForge (http://sourceforge.net/projects/lazarus/files/Lazarus%20Mac%20OS%20X%20i386/ and http://sourceforge.net/projects/lazarus/files/Lazarus%20Mac%20OS%20X%20powerpc/, respectively) without any problem.

I don't know why I should make simple things complex by using Fink.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 4.2.0 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1071
Re: The installation failed
« Reply #8 on: July 08, 2013, 10:50:21 am »
when i run fpc 2.6.2 install package, at about 90% of installation I get
Installation Failed.

In one of the menus of the Installer program, you should be able to show the installation log. Once you've done that, I think at the bottom there's a pop-up menu that allows you to show everything rather an only errors. Please do so and paste the output here.

idc65

  • Jr. Member
  • **
  • Posts: 50
Re: The installation failed
« Reply #9 on: July 08, 2013, 01:22:47 pm »
Hi Kamischi,

My system had already 10.7 sdk installed, but I installed 10.6 sdk.

I am still getting the same error will not install via fink
However I then tried fpc 2.6.2 installer, which now will install.

I will try to install fpc src and lazarus seperately and let you know findings.

Hi Jonas,

I could not see the options you mentioned, mind you that could just be me not looking in the right place.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1071
Re: The installation failed
« Reply #10 on: July 08, 2013, 01:28:13 pm »
Under Mac OS X 10.5/10.6 it's the item "Installer Log" in the "Window" menu (shortcut: cmd-L)

idc65

  • Jr. Member
  • **
  • Posts: 50
Re: The installation failed
« Reply #11 on: July 08, 2013, 02:31:07 pm »
Hi

Managed to install fpc,fpcsrc and lazarus 1.0.1 with no errors

Now when I click lazarus i get

You can’t open the application “lazarus” because it is not supported on this type of Mac.

Any ideas where to go next... Seems a lot of work to install an application.

Is it related to ML being 64bit only?

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1071
Re: The installation failed
« Reply #12 on: July 08, 2013, 02:42:49 pm »
Managed to install fpc,fpcsrc and lazarus 1.0.1 with no errors
Please explain what the problems were before and how you solved them so we can hopefully help people in the future more effectively, or prevent those problems from happening in the first place.

Quote
Now when I click lazarus i get

You can’t open the application “lazarus” because it is not supported on this type of Mac.
Open the Console utility (in /Application/Utilities) and post the output related to the starting of Lazarus here.

Quote
Is it related to ML being 64bit only?

Mountain Lion can perfectly run 32 bit applications. Its kernel is 64 bit, but even many 10.6 systems already use a 64 bit kernel. The "bitness" of the kernel on Mac OS X is completely unrelated to the kind of applications it can run.

idc65

  • Jr. Member
  • **
  • Posts: 50
Re: The installation failed
« Reply #13 on: July 08, 2013, 03:31:46 pm »
Hi

fpc would get to about 90% then display installatin failed
installed sdk 10.6 then fpc etc would install ok

console displays no messages when i get message
You can’t open the application “lazarus” because it is not supported on this type of Mac.

i was asking about 64bit mode as had seen threads about carbon issues on 64bit.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1071
Re: The installation failed
« Reply #14 on: July 08, 2013, 03:45:37 pm »
Code: [Select]
fpc would get to about 90% then display installatin failed
installed sdk 10.6 then fpc etc would install ok
This is very strange, because there is no reference to the 10.6 in either FPC itself or its installer sceripts. Maybe that 10.6 SDK installation also changed other things. It would have been interesting to have seen the installer log of the failed installation, but that's probably no longer easily possible now.

Quote
console displays no messages when i get message
You can’t open the application “lazarus” because it is not supported on this type of Mac.
Try selecting system.log in the left column under "log files" (if it still exists under Mountain Lion).

Quote
i was asking about 64bit mode as had seen threads about carbon issues on 64bit.
Most parts of Carbon cannot be used from 64 bit applications.

 

TinyPortal © 2005-2018