From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by hurricane.the-brannons.com (Postfix) with ESMTPS id BC1AB77AD0 for ; Thu, 29 Aug 2019 12:46:16 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id j16so4620810wrr.8 for ; Thu, 29 Aug 2019 12:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=geoffair-info.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=F7zZAz1MM6KJXXkU4bQhVAM7sbnNKZdjx69feQnvMXk=; b=a6UTzYR1LZdmJa8jotDn1YMHgUL/HYJJWf/zQc4JoZm4aBAAwiJCNBKRgTv1QCTmly H6rocAA3RDQ7n+QtKf05tBnw4ZnME0RFKpHH/2/VNGEahTUnO8DAIMJ8b1InLbow2+MD vC+ti0KUqnPqUyEm+BATf9QwZ7gK2kiN72fl7+9XO3Efy4jUcw6gJyQX3+B7JlIyESBj bqHNdyAQwrjqibgPm/13SGz6dcYaqZnFhmlKDF5wKHT343jiKXo04WJY4f1EDEtoTzqE qgKhM8n/qozrOeWcJkrztGYBaBETDGeaRF3Nfa5WmlYCm+4dwyItIGn1b+Es3hEqhGAz jlaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=F7zZAz1MM6KJXXkU4bQhVAM7sbnNKZdjx69feQnvMXk=; b=K6MjaBMpL1npCpUQcuRbtBk7MfzwXXzSP92gAH7O1nS5+AJWtcbZmM8jCaLbkXDFzW RjfZ6ev9RiAXjedqU+D+C4/BBgzUWPHxdLpDTesyzbXmlUnjFcR3YpTVdvesuSYCpQaP i/zZYk7hIACleATC52qie2Bo7Sj+xAt97gfFQgdJzixhBy2VRTd1NbNMMHQ4wHr7w8iv QTsAn+NrAzyJSmlfRO+TWGWpnb45qM5jfqTZlou8jgpfdqHIpa7fVs14NI9HqjDR+/EQ 4TENSsK0HfaIUXvcjY/h4s6mn42LqmcdLRpI9KCNCf6JeyY3rgsdiv7eErotIpN1iSVV yMmQ== X-Gm-Message-State: APjAAAWXSFKV/lgBvbAyD4V7QbR5dTWYg1CFzA4wjtDrwWMbZldu3F6e ZCElwu1JeLpNWSZ864yVqsJb0GWGezo= X-Google-Smtp-Source: APXvYqxBmfAzG+I64XXsSizaAnq7LCwAX48ZL9ddSOOz/HPuxvTZRlWbYA5Jq2nzRCiDKOUYVRUujA== X-Received: by 2002:adf:ba4a:: with SMTP id t10mr13434664wrg.325.1567107975023; Thu, 29 Aug 2019 12:46:15 -0700 (PDT) Received: from [192.168.1.16] (lfbn-idf2-1-265-150.w82-123.abo.wanadoo.fr. [82.123.105.150]) by smtp.googlemail.com with ESMTPSA id c201sm7385211wmd.33.2019.08.29.12.46.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Aug 2019 12:46:14 -0700 (PDT) Subject: Re: [edbrowse-dev] Threads (fwd) To: Karl Dahlke , Edbrowse-dev@lists.the-brannons.com References: <20190728022559.eklhad@comcast.net> From: Geoff McLane Message-ID: <313edde4-d7d6-23d0-fb07-65d5558fb64f@geoffair.info> Date: Thu, 29 Aug 2019 21:46:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 In-Reply-To: <20190728022559.eklhad@comcast.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Hi Karl, Thanks for the quick test - edbrowse www.nasa.gov - but unfortunately my build exits with an exception, in a thread, I think... it seems to be after the initial fetch from the url, which contain several script src=....js, along with other things... It seems to happen in http.c:808 - g->down_fd = creat(g->cdfn, 0666);, where g->down_force == 2... trying to track that down... note that the cdfn does contain some forward slashes - like "C:\\Users\\user\\Appdata\\Local\\Temp/edbrowse/0/back1524.1" - but I am not sure this is the problem... While in that first 'creat(... 1524.1)', the thread switches, and it is the next 'create(... 1524.2)' that triggers an exception dialog... very difficult to follow... So any discussion about maintaining a W32.x64 port is probably mute... until I can get it running... any ideas on that much appreciated... Hi Kevin, Thanks for the direct mail, and kind words, and I hope you do not mind if I answer here, since it is for a broader audience... Yes, to build edbrowse from source, in windows, the first thing to have is a suitable compiler... As has been mentioned there is cygwin... have tried it a few times... but not my choice... Another is MinGW-w64... I still use that now and then on some projects... to supply an alternate Win32 EXE... And there may be other non-native compilers... But to use the native Microsoft compiler, you must install MSVC... the 'Community' version is free... https://visualstudio.microsoft.com/vs/community/ ... You will also need the Windows SDK, but I think that is included in the install these days... So each of those choices involves a SUBSTANTIAL install, usually requiring admin rights, since in most cases they, write to the registry, permanently change the environment, particularly PATH... etc, etc, ... It may be possible, in some cases, to install each locally... that is for one user only, on a shared system... I certainly do that with MinGW... but this requires additional skill, to get it all functioning... But then you have to compile and install the considerable list of dependencies - duktape, libcurl, pcre, readline, pthreadVC2, zlib, ... what have I missed... It takes real effort download the sources for EACH of the above, compile each with the chosen compiler, and install them, where they can be found during the configuration stage of the cmake build of edbrowse... but I could help with that, if there was the interest... So compiling from source is a heavy effort... and suggests programming is already one of your (very time consuming) hobbies... An alternative is to build and publish binaries, like here http://www.edbrowse.org/static/ But again, that depends on the time and interest... Meantime, will try to get edbrowse running... there must be a way to avoid this exception... btw it also happens with 'b http://maersk.com'... in the same place... 2nd time thru... strange... Regards, Geoff.