LimeJS Projects Show Blank Screen - limejs

I recently followed a Youtube tutorial on getting LimeJS setup and I'm having trouble getting any of my projects to show up in Chrome. Although I'm new to programming I followed the instructions to the "t" (LimeJS Tutorials | Installing on Windows). Below are the test logs and paths to svn/python/limejs. I also added all paths in the PATH systems variable and I have been running everything through cmd prompt. Thanks in advance for your help!
Subversion: C:\Users\Master Blaster\Documents\Subversion
Python: C:\Python34
LimeJS: C:\limejs
Lime Unit Tests - lime.director [FAILED]
/C:/limejs/lime/tests/director.htm
6 of 6 tests run in 12ms.
1 passed, 5 failed.
2 ms/test. 49 files loaded.
.
11:24:14.934 Start
11:24:14.935 testBounds : PASSED
11:24:14.935 testCoordinateConversion : FAILED (run individually)
11:24:14.939 ERROR in testCoordinateConversion
lime is not defined
(unknown)
testCoordinateConversion at file:///C:/limejs/lime/tests/director.htm:88:20
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:24:14.940 testDirectorInit : FAILED (run individually)
11:24:14.941 ERROR in testDirectorInit
lime is not defined
(unknown)
testDirectorInit at file:///C:/limejs/lime/tests/director.htm:48:18
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:24:14.941 testHitTest : FAILED (run individually)
11:24:14.942 ERROR in testHitTest
lime is not defined
(unknown)
testHitTest at file:///C:/limejs/lime/tests/director.htm:104:20
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:24:14.942 testPartialSizes : FAILED (run individually)
11:24:14.942 ERROR in testPartialSizes
lime is not defined
(unknown)
testPartialSizes at file:///C:/limejs/lime/tests/director.htm:69:18
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:24:14.943 testPausing : FAILED (run individually)
11:24:14.946 ERROR in testPausing
lime is not defined
(unknown)
testPausing at file:///C:/limejs/lime/tests/director.htm:109:20
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:24:14.946 Done
Lime Unit Tests - lime.dirty [FAILED]
/C:/limejs/lime/tests/dirty.htm
1 of 1 tests run in 4ms.
0 passed, 1 failed.
4 ms/test. 50 files loaded.
.
11:24:43.142 Start
11:24:43.143 testDirtyQueue : FAILED (run individually)
11:24:43.145 ERROR in testDirtyQueue
lime is not defined
(unknown)
testDirtyQueue at file:///C:/limejs/lime/tests/dirty.htm:52:15
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:24:43.146 Done
Lime Unit Tests - lime.scene [FAILED]
/C:/limejs/lime/tests/scene.htm
3 of 3 tests run in 7ms.
0 passed, 3 failed.
2 ms/test. 49 files loaded.
.
11:25:00.258 Start
11:25:00.259 testSceneActivation : FAILED (run individually)
11:25:00.262 ERROR in testSceneActivation
lime is not defined
(unknown)
setUp at file:///C:/limejs/lime/tests/scene.htm:45:17
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:835:14
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:00.262 testSceneInit : FAILED (run individually)
11:25:00.264 ERROR in testSceneInit
lime is not defined
(unknown)
setUp at file:///C:/limejs/lime/tests/scene.htm:45:17
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:835:14
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:00.264 testScenePushPop : FAILED (run individually)
11:25:00.264 ERROR in testScenePushPop
lime is not defined
(unknown)
setUp at file:///C:/limejs/lime/tests/scene.htm:45:17
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:835:14
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:00.265 Done
Lime Unit Tests - lime.director [FAILED]
/C:/limejs/lime/tests/schedulemanager.htm
3 of 3 tests run in 7ms.
0 passed, 3 failed.
2 ms/test. 50 files loaded.
.
11:25:13.861 Start
11:25:13.862 testCallAfter : FAILED (run individually)
11:25:13.865 ERROR in testCallAfter
lime is not defined
(unknown)
testCallAfter at file:///C:/limejs/lime/tests/schedulemanager.htm:82:5
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:13.865 testScheduleWithDelay : FAILED (run individually)
11:25:13.866 ERROR in testScheduleWithDelay
lime is not defined
(unknown)
testScheduleWithDelay at file:///C:/limejs/lime/tests/schedulemanager.htm:106:5
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:13.867 testScheduler : FAILED (run individually)
11:25:13.867 ERROR in testScheduler
lime is not defined
(unknown)
testScheduler at file:///C:/limejs/lime/tests/schedulemanager.htm:48:4
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:13.867 Done
Lime Unit Tests - lime.style [FAILED]
/C:/limejs/lime/tests/style.htm
6 of 6 tests run in 9ms.
0 passed, 6 failed.
2 ms/test. 49 files loaded.
.
11:25:27.234 Start
11:25:27.235 testBorderRadius : FAILED (run individually)
11:25:27.238 ERROR in testBorderRadius
lime is not defined
(unknown)
testBorderRadius at file:///C:/limejs/lime/tests/style.htm:59:21
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:27.238 testCommonProperties : FAILED (run individually)
11:25:27.239 ERROR in testCommonProperties
lime is not defined
(unknown)
testCommonProperties at file:///C:/limejs/lime/tests/style.htm:50:45
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:27.239 testSetSize : FAILED (run individually)
11:25:27.240 ERROR in testSetSize
lime is not defined
(unknown)
testSetSize at file:///C:/limejs/lime/tests/style.htm:176:5
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:27.240 testTransform : FAILED (run individually)
11:25:27.241 ERROR in testTransform
lime is not defined
(unknown)
testTransform at file:///C:/limejs/lime/tests/style.htm:107:21
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:27.242 testTransformOrigin : FAILED (run individually)
11:25:27.242 ERROR in testTransformOrigin
lime is not defined
(unknown)
testTransformOrigin at file:///C:/limejs/lime/tests/style.htm:96:21
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:27.242 testTransitions : FAILED (run individually)
11:25:27.243 ERROR in testTransitions
lime is not defined
(unknown)
testTransitions at file:///C:/limejs/lime/tests/style.htm:138:9
goog.testing.TestCase.Test.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:1076:12
goog.testing.TestCase.cycleTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:836:18
goog.testing.TestCase.execute at file:///C:/limejs/closure/closure/goog/testing/testcase.js:420:8
goog.testing.TestCase.runTests at file:///C:/limejs/closure/closure/goog/testing/testcase.js:597:8
goog.testing.TestRunner.execute at file:///C:/limejs/closure/closure/goog/testing/testrunner.js:267:17
11:25:27.243 Done

To anyone with the same issue I found a post with the solution. Turns out Python 3.X is the culprit, uninstall Python 3.X and install Python 2.7. Make sure to test a newly created project using Python 2.7, any previous projects created using Python 3.X will still not work.
limejs int step installation issue with closure

Related

Error making a squirrel distributable for win32/x64 - Electron-Forge App

I installed Wine in Ubuntu 22.04 and I executed yarn make --platform=win32 in order to produce the .exe executable Electron file, I get some strange errors:
raphy#raohy:~/ForgeTypescriptReactWebpack$ yarn make --platform=win32
yarn run v1.22.19
$ electron-forge make --platform=win32
✔ Checking your system
✔ Loading configuration
✔ Resolving make targets
› Making for the following targets: squirrel, zip
✔ Running package command
✔ Preparing to package application
✔ Running packaging hooks
✔ Running generateAssets hook
✔ Running prePackage hook
✔ [plugin-webpack] Preparing native dependencies: 1 / 1
✔ [plugin-webpack] Building webpack bundles
✔ Packaging application
✔ Packaging for x64 on win32 [27s]
✔ Running postPackage hook
✔ Running preMake hook
❯ Making distributables
✖ Making a squirrel distributable for win32/x64
› spawn mono ENOENT
◼ Making a zip distributable for win32/x64
◼ Running postMake hook
An unhandled rejection has occurred inside Forge:
Error: spawn mono ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
raphy#raohy:~/ForgeTypescriptReactWebpack$
In package.json:
"scripts": {
"make": "electron-forge make",
}
Executing via Wine the produced .exe file I get this:
raphy#raohy:~$ wine /home/raphy/ForgeTypescriptReactWebpack/out/forgetypescriptreactwebpack-win32-x64/forgetypescriptreactwebpack.exe
0100:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0100:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0100:fixme:powrprof:PowerRegisterSuspendResumeNotification (0x00000002,000000000081FCF0,000000000081FCE8) stub!
0104:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x19efc38,0x00000008,(nil)) Unknown information class
0100:fixme:heap:RtlSetHeapInformation 0000000000000000 1 0000000000000000 0 stub
0100:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000005180029CDB0, 16) stub
0100:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000081F56C, 0000000000000000 000000000081F568
0100:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000081F56C 0000000000000000 000000000081F568) returning a dummy value (current locale)
0100:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000081F56C, 000000000081F552 000000000081F568
0100:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000081F56C 000000000081F552 000000000081F568) returning a dummy value (current locale)
0100:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0128:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000000006DEFE10
0100:fixme:imm:ImeSetActiveContext (0x880360, 1): stub
0100:fixme:imm:ImmReleaseContext (0000000000010062, 0000000000880360): stub
0070:fixme:imm:ImeSetActiveContext (0x25e1b0, 0): stub
0070:fixme:imm:ImmReleaseContext (0000000000010020, 000000000025E1B0): stub
0100:fixme:winsock:WSALookupServiceBeginW (000000000081F000 0x00000ff0 000000000081F078) Stub!
[252:0105/192543.562:ERROR:network_change_notifier_win.cc(225)] WSALookupServiceBegin failed with: 0
0100:fixme:iphlpapi:NotifyAddrChange (Handle 000000000081F1D8, overlapped 0000051800320090): stub
0100:fixme:win:GetPointerDevices (000000000081EB3C 0000000000000000): partial stub
0100:fixme:system:QueryDisplayConfig (00000002 000000000081EB50 0000051800278A70 000000000081EB40 0000051800688300 0000000000000000): semi-stub
0100:fixme:system:DisplayConfigGetDeviceInfo Unimplemented packet type: 11
0140:fixme:wtsapi:WTSRegisterSessionNotification Stub 0000000000020052 0x00000000
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000000000000000 len=0 000000000CCFEF9C),stub!
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 00000518007583D0 len=40 000000000CCFEF9C),stub!
0154:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0154:fixme:ntdll:NtFilterToken flags 0x1 unsupported
0154:fixme:ntdll:NtFilterToken support for restricting sids not yet implemented
0100:fixme:service:I_ScRegisterDeviceNotification Notification filters are not yet implemented.
0100:fixme:system:EnableNonClientDpiScaling (0000000000020058): stub
0100:fixme:win:RegisterTouchWindow (0000000000020058 00000002): stub
0140:fixme:wtsapi:WTSRegisterSessionNotification Stub 0000000000020056 0x00000000
0100:fixme:dwmapi:DwmSetWindowAttribute (0000000000020058, 2, 000000000081D684, 4) stub
0114:fixme:file:NtLockFile I/O completion on lock not implemented yet
0150:fixme:file:ReplaceFileW Ignoring flags 2
011c:fixme:file:ReplaceFileW Ignoring flags 2
0100:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000081CA6C, 0000000000000000 000000000081CA68
0100:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000081CA6C 0000000000000000 000000000081CA68) returning a dummy value (current locale)
0100:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000081CA6C, 000000000081CA52 000000000081CA68
0100:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000081CA6C 000000000081CA52 000000000081CA68) returning a dummy value (current locale)
0100:fixme:dwrite:dwritefontface5_HasVariations 0000000000ED0A60: stub
0100:fixme:win:RegisterPowerSettingNotification (0000000000020056,{2b84c20e-ad23-4ddf-93db-05ffbd7efca5},0): stub
0184:fixme:dwmapi:DwmGetWindowAttribute (0000000000020058 14 0000000010E7F5AC 4) stub
0100:fixme:win:GetPointerDevices (000000000081C80C 0000000000000000): partial stub
0100:fixme:system:QueryDisplayConfig (00000002 000000000081C820 0000051800ADB570 000000000081C810 0000051800AEF380 0000000000000000): semi-stub
0114:fixme:file:ReplaceFileW Ignoring flags 2
0100:fixme:system:DisplayConfigGetDeviceInfo Unimplemented packet type: 11
0100:fixme:msctf:SetInputScopes STUB: 0000000000020058 ... (null) (null)
MAIN_WINDOW_WEBPACK_ENTRY: file://Z:\home\raphy\ForgeTypescriptReactWebpack\out\forgetypescriptreactwebpack-win32-x64\resources\app\.webpack\renderer\
main_window\index.html
0100:fixme:shcore:GetCurrentProcessExplicitAppUserModelID 000000000081CC60: stub
0100:fixme:win:RegisterTouchWindow (0000000000010080 00000002): stub
[252:0105/192544.046:ERROR:gpu_process_host.cc(968)] GPU process launch failed: error_code=49
0184:fixme:dwmapi:DwmGetWindowAttribute (0000000000020058 14 0000000010E7F2CC 4) stub
0180:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0180:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0180:fixme:powrprof:PowerRegisterSuspendResumeNotification (0x00000002,000000000081FCF0,000000000081FCE8) stub!
019c:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x19efc38,0x00000008,(nil)) Unknown information class
0180:fixme:heap:RtlSetHeapInformation 0000000000000000 1 0000000000000000 0 stub
0180:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000004CE002ACCF0, 16) stub
01b4:fixme:winsock:WSALookupServiceBeginW (0000000005ADDC10 0x00000ff0 0000000005ADDC88) Stub!
[380:0105/192544.150:ERROR:network_change_notifier_win.cc(225)] WSALookupServiceBegin failed with: 0
01b4:fixme:iphlpapi:NotifyAddrChange (Handle 0000000005ADDDE8, overlapped 000004CE0031CB10): stub
01b4:fixme:wlanapi:WlanEnumInterfaces (0000000000000001, 0000000000000000, 0000000005ADCE68) semi-stub
01b4:fixme:wlanapi:WlanEnumInterfaces (0000000000000001, 0000000000000000, 0000000005ADCE68) semi-stub
01b4:fixme:winsock:setsockopt Ignoring SO_RANDOMIZE_PORT
0100:fixme:msctf:SetInputScopes STUB: 0000000000020058 ... (null) (null)
0100:fixme:msctf:SetInputScopes STUB: 0000000000020058 ... (null) (null)
0198:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0198:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0198:fixme:powrprof:PowerRegisterSuspendResumeNotification (0x00000002,000000000081FCF0,000000000081FCE8) stub!
01d4:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x19efc38,0x00000008,(nil)) Unknown information class
0198:fixme:heap:RtlSetHeapInformation 0000000000000000 1 0000000000000000 0 stub
0198:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000CA002A0F30, 16) stub
0198:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0198:fixme:thread:QueryThreadCycleTime (FFFFFFFFFFFFFFFE,000000000081EAE8): stub!
0218:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000B63FE10
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000000000000000 len=0 000000000CCFEF9C),stub!
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000051800758340 len=40 000000000CCFEF9C),stub!
0154:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0154:fixme:ntdll:NtFilterToken flags 0x1 unsupported
0154:fixme:ntdll:NtFilterToken support for restricting sids not yet implemented
[252:0105/192544.356:ERROR:gpu_process_host.cc(968)] GPU process launch failed: error_code=49
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000000000000000 len=0 000000000CCFEF9C),stub!
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000051800BAF620 len=40 000000000CCFEF9C),stub!
0154:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0154:fixme:ntdll:NtFilterToken flags 0x1 unsupported
0154:fixme:ntdll:NtFilterToken support for restricting sids not yet implemented
[252:0105/192544.545:ERROR:gpu_process_host.cc(968)] GPU process launch failed: error_code=49
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000000000000000 len=0 000000000CCFEF9C),stub!
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000051800CA6BE0 len=40 000000000CCFEF9C),stub!
0154:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0154:fixme:ntdll:NtFilterToken flags 0x1 unsupported
0154:fixme:ntdll:NtFilterToken support for restricting sids not yet implemented
[252:0105/192544.729:ERROR:gpu_process_host.cc(968)] GPU process launch failed: error_code=49
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000000000000000 len=0 000000000CCFEF9C),stub!
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000051800BAFC20 len=40 000000000CCFEF9C),stub!
0154:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0154:fixme:ntdll:NtFilterToken flags 0x1 unsupported
0154:fixme:ntdll:NtFilterToken support for restricting sids not yet implemented
[252:0105/192544.911:ERROR:gpu_process_host.cc(968)] GPU process launch failed: error_code=49
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000000000000000 len=0 000000000CCFEF9C),stub!
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000051800CA64F0 len=40 000000000CCFEF9C),stub!
0154:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0154:fixme:ntdll:NtFilterToken flags 0x1 unsupported
0154:fixme:ntdll:NtFilterToken support for restricting sids not yet implemented
[252:0105/192545.094:ERROR:gpu_process_host.cc(968)] GPU process launch failed: error_code=49
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000000000000000 len=0 000000000CCFEF9C),stub!
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 00000518007541A0 len=40 000000000CCFEF9C),stub!
0154:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0154:fixme:ntdll:NtFilterToken flags 0x1 unsupported
0154:fixme:ntdll:NtFilterToken support for restricting sids not yet implemented
[252:0105/192545.279:ERROR:gpu_process_host.cc(968)] GPU process launch failed: error_code=49
01b4:fixme:winsock:setsockopt Ignoring SO_RANDOMIZE_PORT
01b4:fixme:winsock:setsockopt Ignoring SO_RANDOMIZE_PORT
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000000000000000 len=0 000000000CCFEF9C),stub!
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000051800BAFE90 len=40 000000000CCFEF9C),stub!
0154:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0154:fixme:ntdll:NtFilterToken flags 0x1 unsupported
0154:fixme:ntdll:NtFilterToken support for restricting sids not yet implemented
[252:0105/192545.464:ERROR:gpu_process_host.cc(968)] GPU process launch failed: error_code=49
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000000000000000 len=0 000000000CCFEF9C),stub!
0154:fixme:winstation:GetUserObjectSecurity (0000000000000008 000000000CCFEF98 0000051800CABF50 len=40 000000000CCFEF9C),stub!
0154:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0154:fixme:ntdll:NtFilterToken flags 0x1 unsupported
0154:fixme:ntdll:NtFilterToken support for restricting sids not yet implemented
[252:0105/192545.671:ERROR:gpu_process_host.cc(968)] GPU process launch failed: error_code=49
[252:0105/192545.671:FATAL:gpu_data_manager_impl_private.cc(450)] GPU process isn't usable. Goodbye.
wine: Unhandled exception 0x80000003 in thread 100 at address 000000014172A56F (thread 0100), starting debugger...
0224:fixme:imm:ImeSetActiveContext (0x254810, 1): stub
0224:fixme:imm:ImmReleaseContext (000000000001009A, 0000000000254810): stub
01b4:fixme:winsock:setsockopt Ignoring SO_RANDOMIZE_PORT
01c8:fixme:file:ReplaceFileW Ignoring flags 2
01c8:fixme:file:ReplaceFileW Ignoring flags 2
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
Here the backtrace got clicking "Show Details" in the program error window :
https://drive.google.com/file/d/1sDAsIFyWlHQ0fxMM3nZ8d4R4orFJTgGK/view?usp=share_link
From the command-line output: I guess that something wrong happens during the making of the squirrel distributable for win32/x64
Other info:
Electron : 19
node : 18
How to debug and detect the root causes of the issue?
How to make it work?

com.github.facebook.watchman.plist for write: Permission denied running a react-native initial project

I am studying react-native.And I follow the tutorials on the website.When I execute "react-native run-ios". It happens some error messages.
Looking for JS files in
/Users/Mapple/Developer/React-native-workspace/HelloWorld
[19:16:32] <START> Building Dependency Graph
[19:16:32] <START> Crawling File System
[Hot Module Replacement] Server listening on /hot
React packager ready.
2016-07-30T19:16:32,265: [cli] Failed to open /Users/Mapple/Library/LaunchAgents/com.github.facebook.watchman.plist for write: Permission denied
2016-07-30T19:16:32,265: [cli] Failed to open /Users/Mapple/Library/LaunchAgents/com.github.facebook.watchman.plist for write: Permission denied
Watchman: watchman--no-pretty get-sockname returned with exit code null 2016-07-30T19:16:32,265: [cli] Failed to open /Users/Mapple/Library/LaunchAgents/com.github.facebook.watchman.plist for write: Permission denied
ERROR watchman--no-pretty get-sockname returned with exit code null 2016-07-30T19:16:32,265: [cli] Failed to open /Users/Mapple/Library/LaunchAgents/com.github.facebook.watchman.plist for write: Permission denied
Error: watchman--no-pretty get-sockname returned with exit code null 2016-07-30T19:16:32,265: [cli] Failed to open /Users/Mapple/Library/LaunchAgents/com.github.facebook.watchman.plist for write: Permission denied
at ChildProcess.<anonymous> (/Users/Mapple/Developer/React-native-workspace/HelloWorld/node_modules/fb-watchman/index.js:198:18)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:492:12)
I find there is no file-com.github.facebook.watchman.plist in the /Users/Mapple/Library/LaunchAgents. I tried a variety of ways, but it does not play a role。
I will crazy。
Packages Version:
1.node: v6.1.0
2.watchman: 4.6.0
I solve my problem.There is a file in my directory called “org.lantern.plist”.I guess it's because of the Lantern software.So when I delete /Users/Mapple/Library/LaunchAgents and re create it,and re execute the command "react-native init HelloWorld",my problem has solved.

configure: error: C compiler cannot create executables (running on Windows)

Hi I working on Windows 7 and am trying to install special RUby Binary to make the full use of ruby-prof on rails 3.2. I am following the steps outlined here https://github.com/rails/rails-perftest/tree/v0.0.4.
When I get to step where I run
./configure --prefix=/C:/rubygc
I get the following error:
$ ./configure --prefix=/C:/rubygc
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/c/ruby-1.9.3-p545':
configure: error: C compiler cannot create executables
See `config.log' for more details
By the way and just installed gcc using MinGW installation manager.
The content of the config.log that is mentioned is:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/C:/rubygc
## --------- ##
## Platform. ##
## --------- ##
hostname = XXX-1KCXTZ1-001
uname -m = i686
uname -r = 1.0.12(0.46/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2012-07-05 14:56
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /c/Users/issadmin/bin
PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/Program Files/PHP/v5.3
PATH: /c/Program Files (x86)/Mozilla Firefox
PATH: /c/Program Files/ImageMagick-6.8.9-Q16
PATH: /c/Ruby193/bin
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /c/Program Files (x86)/ZipGenius 6/
PATH: /c/Program Files (x86)/Google/Google Apps Sync/
PATH: /c/Program Files (x86)/QuickTime/QTSystem/
PATH: /c/Program Files (x86)/Novell/ZENworks/bin
PATH: /c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/
PATH: /c/Program Files/Microsoft SQL Server/110/Tools/Binn/
PATH: /c/Program Files/Microsoft/Web Platform Installer/
PATH: /c/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0/
PATH: /c/Program Files (x86)/Heroku/bin
PATH: /usr/cmd
PATH: /usr/cmd
PATH: /c/Program Files (x86)/Google/google_appengine/
PATH: /c/Python27/
PATH: /c/Program Files/PostgreSQL/9.3/bin
PATH: /c/MinGW/bin
PATH: /c/Program Files (x86)/Google/google_appengine/
PATH: /c/Python27/
PATH:
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2800: checking build system type
configure:2814: result: i686-pc-mingw32
configure:2882: checking host system type
configure:2895: result: i686-pc-mingw32
configure:2915: checking target system type
configure:2928: result: i686-pc-mingw32
configure:3153: checking for gcc
configure:3169: found /c/MinGW/bin/gcc
configure:3180: result: gcc
configure:3409: checking for C compiler version
configure:3418: gcc --version >&5
gcc.exe (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3429: $? = 0
configure:3418: gcc -v >&5
Using built-in specs.
COLLECT_GCC=c:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=mingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto --enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gmp-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld --with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-libgomp --enable-threads --with-libiconv-prefix=/mingw32 --with-libintl-prefix=/mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)
configure:3429: $? = 0
configure:3418: gcc -V >&5
gcc.exe: error: unrecognized command line option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3429: $? = 1
configure:3418: gcc -qversion >&5
gcc.exe: error: unrecognized command line option '-qversion'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3429: $? = 1
configure:3449: checking whether the C compiler works
configure:3471: gcc conftest.c >&5
configure:3475: $? = 0
configure:3513: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define CANONICALIZATION_FOR_MATHN 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3518: error: in `/c/ruby-1.9.3-p545':
configure:3520: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-mingw32
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-mingw32
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=i686-pc-mingw32
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALLOCA=''
AR=''
ARCHFILE=''
ARCH_FLAG=''
AS=''
ASFLAGS=''
BASERUBY='ruby'
BUILTIN_ENCOBJS=''
BUILTIN_TRANSOBJS=''
BUILTIN_TRANSSRCS=''
CAPITARGET=''
CC='gcc'
CCDLFLAGS=''
CFLAGS=''
CHDIR=''
COMMON_HEADERS=''
COMMON_LIBS=''
COMMON_MACROS=''
COUTFLAG=''
CP=''
CPP=''
CPPFLAGS=''
CPPOUTFILE=''
CXX=''
CXXFLAGS=''
DEFS=''
DLDFLAGS=''
DLDLIBS=''
DLEXT2=''
DLEXT=''
DLLWRAP=''
DOT=''
DOXYGEN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_SHARED=''
EXECUTABLE_EXTS=''
EXEEXT=''
EXPORT_PREFIX=''
EXTDLDFLAGS=''
EXTOUT=''
EXTSTATIC=''
GCC=''
GNU_LD=''
GREP=''
INSTALLDOC=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LDSHARED=''
LDSHAREDXX=''
LIBEXT=''
LIBOBJS=''
LIBPATHENV=''
LIBPATHFLAG=''
LIBRUBY=''
LIBRUBYARG=''
LIBRUBYARG_SHARED=''
LIBRUBYARG_STATIC=''
LIBRUBY_A=''
LIBRUBY_ALIASES=''
LIBRUBY_DLDFLAGS=''
LIBRUBY_LDSHARED=''
LIBRUBY_RELATIVE=''
LIBRUBY_SO=''
LIBS=''
LINK_SO=''
LN_S=''
LTLIBOBJS=''
MAINLIBS=''
MAJOR='1'
MAKEDIRS=''
MAKEFILES=''
MANTYPE=''
MINIOBJS=''
MINIRUBY=''
MINOR='9'
MKDIR_P=''
NM=''
NROFF=''
NULLCMD=''
OBJCOPY=''
OBJDUMP=''
OBJEXT=''
OUTFLAG=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLATFORM_DIR=''
POSTLINK=''
PREP=''
RANLIB=''
RDOCTARGET=''
RI_BASE_NAME=''
RM=''
RMALL=''
RMDIR=''
RMDIRS=''
RPATHFLAG=''
RUBYW_BASE_NAME='rubyw'
RUBYW_INSTALL_NAME=''
RUBY_BASE_NAME='ruby'
RUBY_INSTALL_NAME=''
RUBY_PROGRAM_VERSION='1.9.3'
RUBY_RELEASE_DATE='2014-02-24'
RUBY_SO_NAME=''
RUNRUBY=''
SET_MAKE=''
SHELL='/bin/sh'
SOLIBS=''
STATIC=''
STRIP=''
SYMBOL_PREFIX=''
TEENY='1'
TEST_RUNNABLE=''
THREAD_MODEL=''
TRY_LINK=''
UNIVERSAL_ARCHNAMES=''
UNIVERSAL_INTS=''
USE_RUBYGEMS=''
WERRORFLAG=''
WINDRES=''
XCFLAGS=''
XLDFLAGS=''
XRUBY=''
XRUBY_LIBDIR=''
XRUBY_RUBYHDRDIR=''
XRUBY_RUBYLIBDIR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_OBJCOPY=''
ac_ct_OBJDUMP=''
arch=''
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
cflags=' ${optflags} ${debugflags} ${warnflags}'
codesign=''
configure_args=''
cppflags=''
cxxflags=' ${optflags} ${debugflags} ${warnflags}'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
debugflags=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec=''
exec_prefix='NONE'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
optflags=''
pdfdir='${docdir}'
prefix='/C:/rubygc'
program_transform_name='s&^&&'
psdir='${docdir}'
ridir=''
ruby_pc=''
ruby_version=''
rubyhdrdir=''
rubylibprefix=''
rubyw_install_name=''
sbindir='${exec_prefix}/sbin'
setup=''
sharedstatedir='${prefix}/com'
sitearch=''
sitedir=''
sitehdrdir=''
sysconfdir='${prefix}/etc'
target='i686-pc-mingw32'
target_alias=''
target_cpu='i686'
target_os='mingw32'
target_vendor='pc'
try_header=''
vendordir=''
vendorhdrdir=''
warnflags=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define CANONICALIZATION_FOR_MATHN 1
configure: exit 77

Installation of ruby 1.9.3 in Mac OS Mavericks

I have tried the following with macports but give up and uninstalled (http://guide.macports.org/chunked/installing.macports.uninstalling.html) it as I was being unsuccessful with the gcc42 library and gave a try to Homebrew.
Everything went (almost) smooth, i had to manually delete some library files that i have installed with macports, Homebrew was gentle and told me exactly what to do. I already had the xcode installed but i reinstalled it, just in case.
Then I tried to install ruby 1.9.3 using:
\curl -L https://get.rvm.io | bash -s stable --ruby=1.9.3
and I'm getting this error:
ruby-1.9.3-p448 - #configuring........
Error running './configure --prefix=/Users/pedro/.rvm/rubies/ruby-1.9.3-p448 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --enable-shared',
please read /Users/pedro/.rvm/log/1383305143_ruby-1.9.3-p448/configure.log
There has been an error while running configure. Halting the installation.
configure.log tail:
$ tail /Users/pedro/.rvm/log/1383305143_ruby-1.9.3-p448/configure.log
current path: /Users/pedro/.rvm/src/ruby-1.9.3-p448
command(6): ./configure --prefix=/Users/pedro/.rvm/rubies/ruby-1.9.3-p448 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --enable-shared
configure: WARNING: unrecognized options: --without-tcl, --without-tk
checking build system type... i386-apple-darwin13.0.0
checking host system type... i386-apple-darwin13.0.0
checking target system type... i386-apple-darwin13.0.0
checking whether the C compiler works... no
configure: error: in `/Users/pedro/.rvm/src/ruby-1.9.3-p448':
configure: error: C compiler cannot create executables
See `config.log' for more details
config.log content:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/Users/pedro/.rvm/rubies/ruby-1.9.3-p448 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --enable-shared
## --------- ##
## Platform. ##
## --------- ##
hostname = pedros-mbp.home
uname -m = x86_64
uname -r = 13.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 4.00 gigabytes
Default processor set: 170 tasks, 969 threads, 8 processors
Load average: 2.68, Mach factor: 5.31
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/opt/gcc46/bin
PATH: /usr/local/opt/pkg-config/bin
PATH: /usr/local/opt/libtool/bin
PATH: /usr/local/opt/automake/bin
PATH: /usr/local/opt/autoconf/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /Users/pedro/.rvm/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2799: checking build system type
configure:2813: result: i386-apple-darwin13.0.0
configure:2881: checking host system type
configure:2894: result: i386-apple-darwin13.0.0
configure:2914: checking target system type
configure:2927: result: i386-apple-darwin13.0.0
configure:3408: checking for C compiler version
configure:3417: /bin/gcc-4.6 --version >&5
./configure: line 3419: /bin/gcc-4.6: No such file or directory
configure:3428: $? = 127
configure:3417: /bin/gcc-4.6 -v >&5
./configure: line 3419: /bin/gcc-4.6: No such file or directory
configure:3428: $? = 127
configure:3417: /bin/gcc-4.6 -V >&5
./configure: line 3419: /bin/gcc-4.6: No such file or directory
configure:3428: $? = 127
configure:3417: /bin/gcc-4.6 -qversion >&5
./configure: line 3419: /bin/gcc-4.6: No such file or directory
configure:3428: $? = 127
configure:3448: checking whether the C compiler works
configure:3470: /bin/gcc-4.6 conftest.c >&5
./configure: line 3472: /bin/gcc-4.6: No such file or directory
configure:3474: $? = 127
configure:3512: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define CANONICALIZATION_FOR_MATHN 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3517: error: in `/Users/pedro/.rvm/src/ruby-1.9.3-p448':
configure:3519: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i386-apple-darwin13.0.0
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/bin/gcc-4.6
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i386-apple-darwin13.0.0
ac_cv_prog_CC=/bin/gcc-4.6
ac_cv_target=i386-apple-darwin13.0.0
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALLOCA=''
AR=''
ARCHFILE=''
ARCH_FLAG=''
AS=''
ASFLAGS=''
BASERUBY='ruby'
BUILTIN_ENCOBJS=''
BUILTIN_TRANSOBJS=''
BUILTIN_TRANSSRCS=''
CAPITARGET=''
CC='/bin/gcc-4.6'
CCDLFLAGS=''
CFLAGS=''
CHDIR=''
COMMON_HEADERS=''
COMMON_LIBS=''
COMMON_MACROS=''
COUTFLAG=''
CP=''
CPP=''
CPPFLAGS=''
CPPOUTFILE=''
CXX=''
CXXFLAGS=''
DEFS=''
DLDFLAGS=''
DLDLIBS=''
DLEXT2=''
DLEXT=''
DLLWRAP=''
DOT=''
DOXYGEN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
ENABLE_SHARED=''
EXECUTABLE_EXTS=''
EXEEXT=''
EXPORT_PREFIX=''
EXTDLDFLAGS=''
EXTOUT=''
EXTSTATIC=''
GCC=''
GNU_LD=''
GREP=''
INSTALLDOC=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LDSHARED=''
LDSHAREDXX=''
LIBEXT=''
LIBOBJS=''
LIBPATHENV=''
LIBPATHFLAG=''
LIBRUBY=''
LIBRUBYARG=''
LIBRUBYARG_SHARED=''
LIBRUBYARG_STATIC=''
LIBRUBY_A=''
LIBRUBY_ALIASES=''
LIBRUBY_DLDFLAGS=''
LIBRUBY_LDSHARED=''
LIBRUBY_RELATIVE=''
LIBRUBY_SO=''
LIBS=''
LINK_SO=''
LN_S=''
LTLIBOBJS=''
MAINLIBS=''
MAJOR='1'
MAKEDIRS=''
MAKEFILES=''
MANTYPE=''
MINIOBJS=''
MINIRUBY=''
MINOR='9'
MKDIR_P=''
NM=''
NROFF=''
NULLCMD=''
OBJCOPY=''
OBJDUMP=''
OBJEXT=''
OUTFLAG=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLATFORM_DIR=''
POSTLINK=''
PREP=''
RANLIB=''
RDOCTARGET=''
RI_BASE_NAME=''
RM=''
RMALL=''
RMDIR=''
RMDIRS=''
RPATHFLAG=''
RUBYW_BASE_NAME='rubyw'
RUBYW_INSTALL_NAME=''
RUBY_BASE_NAME='ruby'
RUBY_INSTALL_NAME=''
RUBY_PROGRAM_VERSION='1.9.3'
RUBY_RELEASE_DATE='2013-06-27'
RUBY_SO_NAME=''
RUNRUBY=''
SET_MAKE=''
SHELL='/bin/sh'
SOLIBS=''
STATIC=''
STRIP=''
SYMBOL_PREFIX=''
TEENY='1'
TEST_RUNNABLE=''
THREAD_MODEL=''
TRY_LINK=''
UNIVERSAL_ARCHNAMES=''
UNIVERSAL_INTS=''
USE_RUBYGEMS=''
WERRORFLAG=''
WINDRES=''
XCFLAGS=''
XLDFLAGS=''
XRUBY=''
XRUBY_LIBDIR=''
XRUBY_RUBYHDRDIR=''
XRUBY_RUBYLIBDIR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_OBJCOPY=''
ac_ct_OBJDUMP=''
arch=''
bindir='${exec_prefix}/bin'
build='i386-apple-darwin13.0.0'
build_alias=''
build_cpu='i386'
build_os='darwin13.0.0'
build_vendor='apple'
cflags=' ${optflags} ${debugflags} ${warnflags}'
configure_args=''
cppflags=''
cxxflags=' ${optflags} ${debugflags} ${warnflags}'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
debugflags=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec=''
exec_prefix='NONE'
host='i386-apple-darwin13.0.0'
host_alias=''
host_cpu='i386'
host_os='darwin13.0.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
optflags=''
pdfdir='${docdir}'
prefix='/Users/pedro/.rvm/rubies/ruby-1.9.3-p448'
program_transform_name='s&^&&'
psdir='${docdir}'
ridir=''
ruby_pc=''
ruby_version=''
rubyhdrdir=''
rubylibprefix=''
rubyw_install_name=''
sbindir='${exec_prefix}/sbin'
setup=''
sharedstatedir='${prefix}/com'
sitearch=''
sitedir=''
sitehdrdir=''
sysconfdir='${prefix}/etc'
target='i386-apple-darwin13.0.0'
target_alias=''
target_cpu='i386'
target_os='darwin13.0.0'
target_vendor='apple'
try_header=''
vendordir=''
vendorhdrdir=''
warnflags=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define CANONICALIZATION_FOR_MATHN 1
configure: exit 77
I used #UnholySheep advice and resolved my problem.
First I found that gcc46 were installed:
$ gcc-4.6 -v
Using built-in specs.
COLLECT_GCC=gcc-4.6
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc46/4.6.4/libexec/gcc/x86_64-apple-darwin13.0.0/4.6.4/lto-wrapper
Target: x86_64-apple-darwin13.0.0
Configured with: ../configure --build=x86_64-apple-darwin13.0.0 --prefix=/usr/local/Cellar/gcc46/4.6.4 --enable-languages=c --program-suffix=-4.6 --with-gmp=/usr/local/opt/gmp4 --with-mpfr=/usr/local/opt/mpfr2 --with-mpc=/usr/local/opt/libmpc08 --with-ppl=/usr/local/opt/ppl011 --with-cloog=/usr/local/opt/cloog-ppl015 --with-system-zlib --enable-version-specific-runtime-libs --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --enable-plugin --disable-nls --disable-multilib
Thread model: posix
gcc version 4.6.4 (GCC)
I used locate gcc-4.6 and found that homebrew installed it under /usr/local/bin. Then created a symlink as suggested by #UnholySheep:
sudo ln -s /usr/local/bin/gcc-4.6 /bin/gcc-4.6
This has been resolved. Run unset CC, then rvm remove 1.9.3, then rvm install 1.9.3.
#mpapis graciously provided the link to the bug report here: https://github.com/wayneeseguin/rvm/issues/2331
there is a reported bug for your problem https://github.com/wayneeseguin/rvm/issues/2331
I will type my answer since I've just looked for the same solution and foun it at another place:
The Xcode compiler is clang (llvm), but Ruby MRI 1.9 only supports gcc (another older but widely used compiler).
While it’s true that MRI 1.9.3 is unofficially compatible with clang, there are some known issues and some modules do not compile correctly (Fibers).
Full clang support has been added with MRI 2.0.0.
So, if you really want to install MRI 1.9.3, you need to install gcc first:
brew update
brew install gcc
rvm install 1.9.3 --with-gcc=/usr/local/bin/gcc-6
This really helped me.
Original answer

rvm install 1.9.3 failing

I tried reinstalling ruby, xcode, and a bunch of other things because I kept getting these strange C compiler errors. At some point all my rubies were uninstalled so I started back at the beginning...
rvm get head && rvm reload
rvm install 1.9.3
I get the following error:
No binary rubies available for: downloads/ruby-1.9.3-p327.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing Ruby from source to: /Users/mgriffel/.rvm/rubies/ruby-1.9.3-p327, this may take a while depending on your cpu(s)...
ruby-1.9.3-p327 - #downloading ruby-1.9.3-p327, this may take a while depending on your connection...
ruby-1.9.3-p327 - #extracted to /Users/mgriffel/.rvm/src/ruby-1.9.3-p327 (already extracted)
ruby-1.9.3-p327 - #configuring
Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --enable-shared --disable-install-doc --prefix=/Users/mgriffel/.rvm/rubies/ruby-1.9.3-p327 --with-opt-dir=/Users/mgriffel/.rvm/usr', please read /Users/mgriffel/.rvm/log/ruby-1.9.3-p327/configure.log
There has been an error while running configure. Halting the installation.
In configure.log I see:
[2012-11-14 13:21:54] env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --enable-shared --disable-install-doc --prefix=/Users/mgriffel/.rvm/rubies/ruby-1.9.3-p327 --with-opt-dir=/Users/mgriffel/.rvm/usr
checking build system type... x86_64-apple-darwin12.2.0
checking host system type... x86_64-apple-darwin12.2.0
checking target system type... x86_64-apple-darwin12.2.0
checking whether the C compiler works... no
configure: error: in `/Users/mgriffel/.rvm/src/ruby-1.9.3-p327':
configure: error: C compiler cannot create executables
See `config.log' for more details
And in config.log I see:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --enable-shared --disable-install-doc --prefix=/Users/mgriffel/.rvm/rubies/ruby-1.9.3-p327 --with-opt-dir=/Users/mgriffel/.rvm/usr
## --------- ##
## Platform. ##
## --------- ##
hostname = Mattans-MacBook-Air.local
uname -m = x86_64
uname -r = 12.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 4.00 gigabytes
Default processor set: 144 tasks, 704 threads, 4 processors
Load average: 2.79, Mach factor: 1.19
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Users/mgriffel/.rvm/usr/bin
PATH: /Users/mgriffel/.rvm/gems/ruby-1.9.3-p194#rails328/bin
PATH: /Users/mgriffel/.rvm/gems/ruby-1.9.3-p194#global/bin
PATH: /Users/mgriffel/.rvm/rubies/ruby-1.9.3-p194/bin
PATH: /Users/mgriffel/.rvm/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/local/mysql/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /opt/sm/bin
PATH: /opt/sm/pkg/active/bin
PATH: /opt/sm/pkg/active/sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2769: checking build system type
configure:2783: result: x86_64-apple-darwin12.2.0
configure:2851: checking host system type
configure:2864: result: x86_64-apple-darwin12.2.0
configure:2884: checking target system type
configure:2897: result: x86_64-apple-darwin12.2.0
configure:3378: checking for C compiler version
configure:3387: /opt/local/bin/gcc-apple-4.2 --version >&5
i686-apple-darwin12-gcc-apple-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_9)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3398: $? = 0
configure:3387: /opt/local/bin/gcc-apple-4.2 -v >&5
Using built-in specs.
Target: i686-apple-darwin12
Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/configure --disable-checking --prefix=/opt/local --mandir=/opt/local/share/man --enable-languages=c,c++,objc,obj-c++ --libexecdir=/opt/local/libexec/apple-gcc42 --libdir=/opt/local/lib/apple-gcc42 --includedir=/opt/local/include/apple-gcc42 --program-suffix=-apple-4.2 --with-system-zlib --disable-nls --with-slibdir=/usr/lib --build=x86_64-apple-darwin12 --enable-werror-always --program-prefix=i686-apple-darwin12- --host=x86_64-apple-darwin12 --target=i686-apple-darwin12 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_9)
configure:3398: $? = 0
configure:3387: /opt/local/bin/gcc-apple-4.2 -V >&5
gcc-apple-4.2: argument to `-V' is missing
configure:3398: $? = 1
configure:3387: /opt/local/bin/gcc-apple-4.2 -qversion >&5
i686-apple-darwin12-gcc-apple-4.2.1: no input files
configure:3398: $? = 1
configure:3418: checking whether the C compiler works
configure:3440: /opt/local/bin/gcc-apple-4.2 -L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include conftest.c >&5
i686-apple-darwin12-gcc-apple-4.2.1: CFLAGS=-I/opt/sm/pkg/active/include: No such file or directory
i686-apple-darwin12-gcc-apple-4.2.1: CPATH=/opt/sm/pkg/active/include: No such file or directory
configure:3444: $? = 1
configure:3482: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define CANONICALIZATION_FOR_MATHN 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3487: error: in `/Users/mgriffel/.rvm/src/ruby-1.9.3-p327':
configure:3489: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-apple-darwin12.2.0
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/opt/local/bin/gcc-apple-4.2
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-apple-darwin12.2.0
ac_cv_prog_CC=/opt/local/bin/gcc-apple-4.2
ac_cv_target=x86_64-apple-darwin12.2.0
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALLOCA=''
AR=''
ARCHFILE=''
ARCH_FLAG=''
AS=''
ASFLAGS=''
BASERUBY='echo executable host ruby is required. use --with-baseruby option.; false'
BUILTIN_ENCOBJS=''
BUILTIN_TRANSOBJS=''
BUILTIN_TRANSSRCS=''
CAPITARGET=''
CC='/opt/local/bin/gcc-apple-4.2'
CCDLFLAGS=''
CFLAGS=''
CHDIR=''
COMMON_HEADERS=''
COMMON_LIBS=''
COMMON_MACROS=''
COUTFLAG=''
CP=''
CPP=''
CPPFLAGS=''
CPPOUTFILE=''
CXX=''
CXXFLAGS=''
DEFS=''
DLDFLAGS=''
DLDLIBS=''
DLEXT2=''
DLEXT=''
DLLWRAP=''
DOT=''
DOXYGEN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
ENABLE_SHARED=''
EXECUTABLE_EXTS=''
EXEEXT=''
EXPORT_PREFIX=''
EXTOUT=''
EXTSTATIC=''
GCC=''
GNU_LD=''
GREP=''
INSTALLDOC=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS='-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include'
LDSHARED=''
LDSHAREDXX=''
LIBEXT=''
LIBOBJS=''
LIBPATHENV=''
LIBPATHFLAG=''
LIBRUBY=''
LIBRUBYARG=''
LIBRUBYARG_SHARED=''
LIBRUBYARG_STATIC=''
LIBRUBY_A=''
LIBRUBY_ALIASES=''
LIBRUBY_DLDFLAGS=''
LIBRUBY_LDSHARED=''
LIBRUBY_RELATIVE=''
LIBRUBY_SO=''
LIBS=''
LINK_SO=''
LN_S=''
LTLIBOBJS=''
MAINLIBS=''
MAJOR='1'
MAKEDIRS=''
MAKEFILES=''
MANTYPE=''
MINIOBJS=''
MINIRUBY=''
MINOR='9'
MKDIR_P=''
NM=''
NROFF=''
NULLCMD=''
OBJCOPY=''
OBJDUMP=''
OBJEXT=''
OUTFLAG=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLATFORM_DIR=''
PREP=''
RANLIB=''
RDOCTARGET=''
RI_BASE_NAME=''
RM=''
RMALL=''
RMDIR=''
RMDIRS=''
RPATHFLAG=''
RUBYW_BASE_NAME='rubyw'
RUBYW_INSTALL_NAME=''
RUBY_BASE_NAME='ruby'
RUBY_INSTALL_NAME=''
RUBY_PROGRAM_VERSION='1.9.3'
RUBY_RELEASE_DATE='2012-11-10'
RUBY_SO_NAME=''
RUNRUBY=''
SET_MAKE=''
SHELL='/bin/sh'
SOLIBS=''
STATIC=''
STRIP=''
SYMBOL_PREFIX=''
TEENY='1'
TEST_RUNNABLE=''
THREAD_MODEL=''
TRY_LINK=''
UNIVERSAL_ARCHNAMES=''
UNIVERSAL_INTS=''
USE_RUBYGEMS=''
WERRORFLAG=''
WINDRES=''
XCFLAGS=''
XLDFLAGS=''
XRUBY=''
XRUBY_LIBDIR=''
XRUBY_RUBYHDRDIR=''
XRUBY_RUBYLIBDIR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_OBJCOPY=''
ac_ct_OBJDUMP=''
arch=''
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin12.2.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin12.2.0'
build_vendor='apple'
cflags=' ${optflags} ${debugflags} ${warnflags}'
configure_args=''
cppflags=''
cxxflags=' ${optflags} ${debugflags} ${warnflags}'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
debugflags=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec=''
exec_prefix='NONE'
host='x86_64-apple-darwin12.2.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin12.2.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
optflags=''
pdfdir='${docdir}'
prefix='/Users/mgriffel/.rvm/rubies/ruby-1.9.3-p327'
program_transform_name='s&^&&'
psdir='${docdir}'
ridir=''
ruby_pc=''
ruby_version=''
rubyhdrdir=''
rubylibprefix=''
rubyw_install_name=''
sbindir='${exec_prefix}/sbin'
setup=''
sharedstatedir='${prefix}/com'
sitearch=''
sitedir=''
sitehdrdir=''
sysconfdir='${prefix}/etc'
target='x86_64-apple-darwin12.2.0'
target_alias=''
target_cpu='x86_64'
target_os='darwin12.2.0'
target_vendor='apple'
try_header=''
vendordir=''
vendorhdrdir=''
warnflags=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define CANONICALIZATION_FOR_MATHN 1
configure: exit 77
I can't for the life of me figure out what's wrong and I've been stuck here for days. Any help here would be greatly appreciated.
Note: I have the latest version of Xcode and CLT installed.
It turns out this is a bug in RailsInstaller OSX 1.0.3 - (Found that out while reading Problems installing Ruby on Mountain Lion - ruby 1.9.3 wont' compile)
I needed to change /etc/rvmrc to contain this:
umask g+w
export -a rvm_configure_env
rvm_configure_env=('LDFLAGS=-L/opt/sm/pkg/active/lib' 'CFLAGS=-I/opt/sm/pkg/active/include' 'CPATH=/opt/sm/pkg/active/include')
For more info see: https://github.com/railsinstaller/railsinstaller-nix/issues/10
To get ruby to compile on my mac which is using Mountain Lion and xcode 4.5.2, I have to create a soft link from gcc-4.2 to gcc somewhere on my path. I originally found the suggestion on this page: https://gist.github.com/1860902
Perhaps it will help you:
sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
If it doesn't help, you can remove it:
sudo rm /usr/bin/gcc-4.2
Good luck!
mattangriffel's solution did it for me. In my case, my third line was nearly identical but where he had
rvm_configure_env=('LDFLAGS=-L/opt/sm/pkg/active/lib' 'CFLAGS=-I/opt/sm/pkg/active/include' 'CPATH=/opt/sm/pkg/active/include')
I had
rvm_configure_env=('LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include')
Fixing mine to look like his did the trick.

Resources