Failing to install the python Numeric library

I have the latest Xcode 3.1.2 developer tools installed. I need to install the python Numeric library since I want to use existing python modules which were developed several years ago using that library. I downloaded the Numeric-24.2 tar file from Sourceforge and began the install process with the command:
python setup.py build
Within a minute, the install process stopped with the last several lines being:
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c Packages/RNG/Src/ranf.c -o build/temp.macosx-10.5-i386-2.5/Packages/RNG/Src/ranf.o
Packages/RNG/Src/ranf.c: In function ‘Mixranf’:
Packages/RNG/Src/ranf.c:153: error: conflicting types for ‘gettimeofday’
/usr/include/sys/time.h:211: error: previous declaration of ‘gettimeofday’ was here
Packages/RNG/Src/ranf.c: In function ‘Mixranf’:
Packages/RNG/Src/ranf.c:153: error: conflicting types for ‘gettimeofday’
/usr/include/sys/time.h:211: error: previous declaration of ‘gettimeofday’ was here
lipo: can't open input file: /var/tmp//cc83Ujvw.out (No such file or directory)
error: command 'gcc' failed with exit status 1
I admit I am treating the installation script as a "blackbox" and do not follow everything that it does. I had assumed that I would have no troubles on the Mac since I successfully installed the library under Linux Red Hat 3.4.6-9 by issuing the same command.
Can someone give me guidance in getting this Numeric library installed?
** Kerwin

dobbskd wrote:
I admit I am treating the installation script as a "blackbox" and do not follow everything that it does. I had assumed that I would have no troubles on the Mac since I successfully installed the library under Linux Red Hat 3.4.6-9 by issuing the same command.
Can someone give me guidance in getting this Numeric library installed?
Update or fix it. According to the comments in ranf.c, that file is 12 years old. Here is where it dies:
#if !defined(__sgi)
int gettimeofday(struct timeval *, struct timezone *);
#endif
Since MacOS X isn't an SGI, it tries to define this function differently than it is defined in sys/time.h.
It seems that the Linux version of GCC has every warning and compilation flag turned off so that bad code will compile on it.

Similar Messages

  • Error: the QueryInterface call on the COM component for the interface with IID '{00063033-0000-0000-C000-000000000046}' failed due to the following error: Library not registered.

    I have a outlook 2007 plugin created in VS 2008 that reads calendar meetings. This plugin also works with outlook 2010. I used to debug this application from VS 2010 as well.
    Last month, I installed Office 365 to test something. Later I uninstalled this version but after that my plugin application is crashing, every time a new appointment/meeting is created in calendar.
    I get the below error:
    Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook._AppointmentItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063033-0000-0000-C000-000000000046}'
    failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
    Tekriti Software

    Thanks for your sharing and have a nice day.
    Yoyo Jiang[MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • IOS Simulator failed to install the application

    I just installed OS X Mavericks then downloaded XCODE. Just to test it, I created a Single View Controller application. I went to the storyboard and added a label just so I could see something come up when I would run the app. I did not add any code. I ran the app which builds fine, but I then get a IOS Simulator failed to install the application. Rememer, this is a clean install of Mavericks, a clean install of XCODE and the first app created. I repeated this for a Master-Detail application and get the same result. I did not change any settings in XCODE from that which is installed by default. Just wanted to go through a build and run to verify things before I start writing a real app.
    I checked the forums which talk about telling the IOS Simulator to Reset Content and Settings. This does not resolve it. I get a black simulator screen. There was other talk about removing a file: ~/Library/Application Support/iPhone Simulator
    but that file does not exist. The forums also talk about building IOS 6 apps and then having a problem after building for IOS 7. But again, no default parameters were changed and it is building an IOS 7 app for the first time and has only been generating IOS 7 apps.
    Any ideas why the simulator won't load any of the simple apps?

    Since everything else I tried had failed, I uninstalled XCODE, reset the Mac then re-installed XCODE and the apps all started loading properly into the simulator. After I installed OS X Mavericks the first thing I did was install XCODE and made no configuration changes to it. Yet I had the issue reported. But now with reloading XCODE all seems fine.

  • Hi, I recently upgraded my xcode to 5.1, my project is running well in ios 7.0,6.0, But in ios 7.1 i'm getting error like"iOS Simulator failed to install the application". Can anybody please suggest the solution for it.

    My project is not running in ios 7.1 simulator i'm getting error like "iOS Simulator failed to install the application". Please suggest a solution for it.

    We aren't Apple, just users like you. Have you tried a reset? Hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • Failed to Install The New Preview Build. Installation Failure: Windows failed to install the following update with error 0x80246007: FBL_AWESOME1501 9926 Professional.

    Hello,
    I'm having issues upgrading my Windows 10 Technical Preview installation build 9879 to a newer build that's become available late January 23rd.
    I am installing the new upgrade in a Hyper-V virtual machine and get the following error:
    Failed to install the new preview build, please try again later. 0x80246007
    What could be the problem?
    Previously I've had messages that Windows cannot be upgraded on a computer with less than 2 Gbyte of RAM. That's a Hyper-V VM with dynamic memory and I was highly surprised to see this error; never had this before. Had to set 2048 Mbytes as a minimum memory
    for this VM. Now that I have this 80246007 error code.
    When looking up System log, the following error messages are listed multiple times:
    Installation Failure: Windows failed to install the following update with error 0x80246007: FBL_AWESOME1501 9926 Professional.
    The errors are returned for the Event ID 20 by WindowsUpdateClient
    in task category Windows Update Agent..
    I reviewed the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability
    registry key as suggested in Windows
    Insider stuck on build 9841 - "No new preview build was found", and here is what it shows:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability]
    "BranchName"="fbl_awesome1501"
    "ThresholdRiskLevel"="low"
    "ThresholdOptedin"=dword:00000001
    Note, when attempting to install the downloaded update from a native boot, installation starts with no errors.
    However, since setup is not supported for a natively booted VHD files, it does not proceed further showing a message that installation on virtual drives is not supported.  
    Looks like Setup is having problems installing in a Hyper-V virtual machine.
    Possibly, some ESD files got corrupted during downloading? Is it possible to remove them and re-download missing files? (I, however, noticed that Windows seems to re-download upgrade files after you restart 9879 and attempt to check for a new build.
    Any clue why installing under VM causes 9926 to fail?
    Thank you in advance.
    Well this is the world we live in And these are the hands we're given...

    Hi,
    According to the error message, this problem seems like update package installation failed during system upgrade.
    You can try to remove ESD file which locate at boot of C drive and upgrade the system again for test.
    On the other hand, make sure the system 9879 installed all Windows pushed updates before system upgrade.
    Roger Lu
    TechNet Community Support

  • My computer failed to install the compatible driver software when updating my iphone and now my iphone is unusable as it is requesting me to connect it to itunes but i physically cannot connect to itunes... help me please?

    my computer failed to install the compatible driver software when updating my iphone and now my iphone is unusable as it is requesting me to connect it to itunes but i physically cannot connect to itunes... help me please?

    Hi there croadstar,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    -Griff W. 

  • Installation Failure: Windows failed to install the following update with error 0x800F0922

    Hi folks,
    I have a HP Elitebook Folio 9470p.  It came with Windows 8, and I installed it on my corporate domain.  I was trying to do some Windows updates so  I could upgrade it to Windows 8.1, but it fails installing the updates, whether or not I try
    to install them one at a time or all of them.  It has about 18 updates it needs from security updates to a .net framework update.  I run Symantec EP, and disabled it, checked for driver updates for things like display and networking and they are
    all up to date.
    I'm at a loss as to what to do.  It gives this error in the event log for each file, Event ID 20.
    Installation Failure: Windows failed to install the following update with error 0x800F0922: Security Update for Windows 8 for x64-based Systems (KB2862152).
    This is the example for KB2862152, but it gives the same error for every one.  I've tried to auto fix for Windows update issues and it fixed a couple of the issues, but not all of them, and provides no other help.
    I also deleted folders and files from the SoftwareDistribution folder as well, to no avail.  Any ideas what I can do to get whatever updates it needs, so I can fully patch it, and upgrade it to Win 8.1?
    Thanks for any help!

    Hi MM. Mr Kywildcat and Vegan Fan,
    GOOD NEW ! At this time, my issue is solved. The only black side is "how ?" : I hope that we will get a response some day ; however, and for in information  pnly - hoping this could help someone - I resume some actions which allowed this the happy end
    1) about installing 8.1 : I wanted to be sure that gain/pain ratio was positive, and that upgrading from a (potentially) damaged system would'nt produce something looking like a new Win 8.1, but difficult to maintain and keeping some negative potentialities.
    2) I was influenced by the fact that this
    0x800F0922  error acted as "a serial killerror", whose root cause could be a unique update error at reboot time concerning several (>20) packages, so I decided to test some manual upgrades.
    3)   Manual update (i.e. manual download and maunching of .msu packages) of the 2 following packages
    (whose update previously failed on a Windows Update) was successful : .NET Framework version 3.5 for  x64 (KB2898866) and Camera Codec Pack Windows 8 for x64 (KB2899190)
    4) So I decided to try Windows Update on a selection of packages, first : those concerning .Net Framework 3.5 and 4.5 (that is: KB2898866, 2901120, 2898865) --> Successful !
    5) finally, I selected almost all other packages, with some exceptions wich I (think to) have no need for : KB2871690, 2904659, 2843630. To be complete, here is the list of pakages updated one time at all :
    KB 2892074, 2893294, 2893984, 2909210, 2912390, 2916036, 2889784,2903938, 2911101, 2913152, 2917499
    --> always succesful.
    I am not a specialist, but I uess that this 0x800F0922 error hides another problem which is globally "H-RESULTED"
    to all updates pending in one update operation with reboot. This could be assumed from this CBS.log exterped from my last wrong attempts, where root cause seems not to be
    0x800f0922, but 0x80004003 :
    2014-02-15 21:29:13, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
    2014-02-15 21:29:13, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2014-02-15 21:29:18, Error  CBS    Startup: Failed to process advanced operation queue, startupPhase: 0.  A rollback transaction will be created. [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]
    Anyway, thanks to you who spent some of your time to describe issues and search/ suggest solutions ; I will upgrade my system to 8.1 anyway, some of this day, when I am sure that my configuration does not hides some other problem. I thing that potential
    issue remains until maybe a new KB corrects it, wrong :-) ?
    And I hope that you - Mr Kywildcat - can upgrade your system on "current levels" trying similar attempts. 
    Phil   

  • Error target not found base-level failed to install the packages

    Im trying to install arch on my Virtualbox VM and its just returning:
    error target not found base-level failed to install the packages to new root
    What do I do? I have selected the right mirrors, pinging google, my own VPS's and a few other servers and they all pinged fine. Any ideas on whats up? Think my VPN's IP has been blocked and thats why I cant download anything? I have tried pacman -Ssy and it worked fine but still no.

    Please read the following and follow the advice included:
    https://bbs.archlinux.org/viewtopic.php?id=57855
    With that, be sure to clarify whether the typo was just here on the forum, or whether it was also in your original command.  If it was in your original command, that would explain your results.

  • Failed to Install the Crystal Reports 2008

    Post Author: cechow
    CA Forum: Crystal Reports
    Hi,
    I am facing some error message when installing the Crystal Reports 2008 that I have purchased. I am currently working on a Windows XP Pro SP2, 1 GB RAM, 60 GD Free Space to install the Crystal Reports but failed. The error stated on the Crystal Reports installation screen is "Crystal Reports 2008 Setup has Failed".
    Thanks.
    Adrian

    Post Author: cechow
    CA Forum: Crystal Reports
    Basic Template
    Product: Crystal Report 2008
    Version:
    Patches Applied: I'm not sure what patches need to be installed
    Operating System(s): Windows XP Professional SP2
    Database(s): SQL Server 2000 sp3a
    Error Messages:  Failed to INstall the Crystal Reports 2008.Steps to Reproduce: When I entered the CR disc in the CD ROM, there was no auto-run, then i decided to browse into the CD and execute the Setup.exe which then prompt the error above. Please advise.Is there some Pre-requisites that I need to install, any JRE or some other application?

  • Failed to install the new preview build, please try again later. 0xC1900107

    I'm trying to upgrade Windows 10 TP for Enterprise to the new build 8460, but I keep getting the error message
    Failed to install the new preview build, please try again later. 0xC1900107
    I don't find any reference to that error code. I've seen similar reports in the forum, but with different error codes and with the message "Failed to upgrade" rather than "Failed to install". I haven't played with the reg keys on this
    system.
    The event viewer shows the following event:
    Installation Failure: Windows failed to install the following update with error 0xC1900107: fbl_release 9860 Enterprise.
    The upgrade to a non-Enterprise device started at the same time went through without problems.
    Alberto

    Hi Russell,
    What’s the situation now?
    There would be a cause that the upgrade is running background, so a retry would fail in this situation.
    You can check the action log  in C:\$Windows.~BT\source\panther\setupact.log
    Check the time line to see if it is running for upgrade.
    Alex Zhao
    TechNet Community Support

  • What can I do? Every "iPhoto Library Upgrader" I've downloaded fails to prepare the my iPhoto Library, so I can't open iPhoto any more.

    What can I do? Every time I download & run "iPhoto Library Upgrader" it fails to "prepare" the my iPhoto Library, so I can't open iPhoto any more. 
    (My MacOS & iPhoto are the latest versions.) 
    Ever since my last upgrades, every time I try to open iPhoto, a Alert box pops up saying, "To open your library with this version of iPhoto, it first needs to be prepared. To prepare the library, use the iPhoto Library Upgrader", and it gives 2 options: a "Learn More" button or "Quit" (iPhoto) button. The "Learn More" button links to Apple's "iPhoto '11: About the Library Upgrader" page (http://support.apple.com/kb/HT5037), but whenever I then download and run that page's linked app, the same thing happens all over again. 
    It does no good to rebuild the iPhoto Library (holding down the command & option keys while reopening iPhoto): the same thing happens. 
    It does no good to use iPhoto Library Manager (http://www.fatcatsoftware.com/iplm/) to rebuild the iPhoto Library, as was suggested elsewhere: the same thing happens.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Failed to install the new preview build, please try again later. 0x80070032

    Hello, I'm trying to update my Windows 10 to the new build and it's not possible in my computer.
    In PC Settings\Preview Build I get this error as a result after trying to install the new update:
    Failed to install the new preview build, please try again later. 0x80070032
    EDIT: After trying the solution posted here: https://social.technet.microsoft.com/Forums/en-US/66f82aff-9411-4c5f-a34f-e3172df32925/preview-build-failed-to-download-0x80246018?forum=WinPreview2014Setup
    Now I have different error 0x80240024

    Hi,
    Did you find the error during downloading or installing process? Have you cleared the SoftwareDistribution folder and check the issue again?
    It would be better if you can check the event viewer and windowsupdate.log (%windir%\Windowsupdate.log), find related information, upload the log to OneDrive for further analysis.
    http://windows.microsoft.com/en-hk/onedrive/share-file-folder
    Yolanda Zhu
    TechNet Community Support

  • Failed to install the new preview build, please try again later 0xC1900204

    I upgraded in-place from Windows 8.1 to Build 9926. I am unable to upgrade past 9926.
    Windows Update finds the new preview build on both fast and slow rings. It downloads it successfully. Upon attempting to install, it fails.
    I get a screen overlay with the message: 
       Can't update to Windows 10 Technical Preview
       Sorry, it looks like this PC can't run Windows 10 Technical Preview. This might be because the Users or Program Files folder is being redirected to another partition.
    Closing the overlay and returning to the "Update & recovery" screen, I see the error in red: Failed to install the new preview build, please try again later 0xC1900204

    Hi Isilverman,
    As we have Windows 10 install Media available at hand, might we consider to do a dual boot of Windows 10 and Windows 8.1?
    Based on the information you posted, it seems to be that the current Windows 8.1 environment is not suitable to do an Upgrade.
    Another thing I would like to share is the information listed in the thread below:
    Problems with disk space and installation time in builds 10041
    and 10049 of Windows 10 Technical Preview
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Failed to install the new preview build, please try again later. 0x80070003

    I am currently running build 9841. When I try to install the new preview build I get the following error
    Failed to install the new preview build, please try again later.  0x80070003
    I have installed all updates and I am a full administrator of this machine.  If someone could fix this I would be very happy.

    Hi bgelbach,
    Have you downloaded the 9879 build?
    Before Windows setup runs, it would do some check on perquisites, one thing is space check.
    When the new build is downloaded, it is located under C:\windows\software distribution\download
     folder, which is about 2.7G. Make sure you have enough space for installation.
    If everything goes well, it would extract files to C:\$WINDOWS.~BT folder.
    Alex Zhao
    TechNet Community Support

  • Failed to Install the Extension CC 2014

    I have an extension that I have installed on hundreds of computers but have come across this error on a recent install and I can't figure out what's causing the issue.
    "Failed to install the extension. Please make sure the Manifest.xml of this extension is valid and the Extension Manager recognizes at least one product which the extension supports."
    The correct version of Extension Manager is installed and being used. I am at a loss to what is causing the issue, does anyone have any ideas.
    Thanks,

    I'm having the same problem here. The icons are not showed on the left bar in my extension manager CC. I've tried reinstall and the problem still the same. Does anybody know how to solve that?
    How can I fix the manifest.xml file issue?
    Here the screenshot.
    Thanks for any help.

Maybe you are looking for