[PKGBUILD] Panda3d 1.5.2 ** Now it works

*** UPDATE ***
Now have a working PKGBUILD / package
PKGBUILD: http://eoinisawesome.com/static/panda3d/PKGBUILD
panda3d.tar.gz: http://eoinisawesome.com/static/panda3d/panda3d.tar.gz
Any and all feedback is definitely welcome.
Hey all,
Updated the PKGBUILD for panda3d in AUR to latest panda3d version.  I can build the package, but I'm having some trouble running the samples.
I stubbed out a simple panda3d.pth file and stuck it in /usr/lib/python2.5/site-packages/ and it points to /opt/panda3d.
Also made sure PATH and LD_LIBRARY_PATH have /opt/panda3d/bin and /opt/panda3d/lib.
When I run the asteriods sample I get this:
$ python Tut-Asteroids.py
DirectStart: Starting the game.
Traceback (most recent call last):
File "Tut-Asteroids.py", line 13, in <module>
import direct.directbase.DirectStart
File "/opt/panda3d/direct/src/directbase/DirectStart.py", line 3, in <module>
from direct.showbase import ShowBase
File "/opt/panda3d/direct/src/showbase/ShowBase.py", line 10, in <module>
from pandac.PandaModules import *
File "/opt/panda3d/pandac/PandaModules.py", line 1, in <module>
from libpandaexpressModules import *
File "/opt/panda3d/pandac/libpandaexpressModules.py", line 1, in <module>
from extension_native_helpers import *
File "/opt/panda3d/pandac/extension_native_helpers.py", line 38, in <module>
from libpandaexpress import *
ImportError: No module named libpandaexpress
Below is the PKGBUILD and accompying files.  I'd really like to get this sorted out since it'd be nice to have a updated panda3d package.
PKGBUILD:
pkgname=panda3d
pkgver=1.5.2
pkgrel=1
pkgdesc="3D engine with Python bindings"
url="http://www.panda3d.org"
depends=('python' 'freetype2' 'mesa' 'libtiff' 'openssl' 'libpng')
source=(http://www.panda3d.org/download/panda3d-$pkgver/panda3d-$pkgver.tar.gz panda3d.profile gcc-4.3-missing-common-declarations.diff)
md5sums=('fe0abf81317381e9d43dc54615e1c33e' '17c522241e60779aa8e50d532bb94e13' '0211aad6f17a8fa8866764a070c37f48')
arch=('i686')
license='unknown'
build() {
mkdir -p $startdir/pkg/opt/panda3d
cd $startdir/src/$pkgname-$pkgver
patch -p0 < $startdir/src/gcc-4.3-missing-common-declarations.diff
makepanda/makepanda.py --everything
cp built/* $startdir/pkg/opt/panda3d -r
cp models $startdir/pkg/opt/panda3d -r
cp samples $startdir/pkg/opt/panda3d -r
cp direct/src $startdir/pkg/opt/panda3d/direct -r
install -D -m755 $startdir/src/panda3d.profile $startdir/pkg/etc/profile.d/panda3d.sh
gcc-4.3-missing-common-declarations.diff:
--- dtool/src/dtoolbase/dtoolbase.h 2007-04-18 15:51:36.000000000 -0600
+++ dtool/src/dtoolbase/dtoolbase.h 2008-06-29 20:24:39.000000000 -0600
@@ -92,6 +92,11 @@
#include <assert.h>
#ifdef __GNUC__
+// Make sure that we get the proper declarations for memset, and other
+// basic stuff
+#include <string.h>
+#include <stdlib.h>
+#include <limits.h>
// Large file >2GB support
// this needs be be before systypes.h and other C headers
#define _FILE_OFFSET_BITS 64
panda3d.profile:
export PATH=$PATH:/opt/panda3d/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/panda3d/lib
Last edited by ecoffey (2008-07-02 04:26:49)

sim4lin wrote:
Hello,
Your "panda3d.pth" should also declare the panda3d lib directory:
panda3d.pth =
/opt/panda3d
/opt/panda3d/lib
Thanks!  That did it.  I now officially have a working panda3d-1.5.2 package (working being I can run the samples ;-)).  Contacting the AUR maintainer, and I'll upload the pkg.tar.gz and the PKGBUILD to my site in a bit here.

Similar Messages

  • NVIDIA Tools now not working with PS CC, is there any other add-on besides NVIDIA that will open .DDS files in photoshop?

    I had no problems with CS6 PS, but since I upgraded to PS CC, NVIDIA Tools is now not working and crashes when I try to reinstall the plug-in into PS CC. I checked NVIDIA's forums and found ZIP from them about this problem. So I am asking in here, is there another plug-in that will open .DDS files in PS? I am using Windows 7 Ultimate x64 for the OS, and I know the PS CC is 32 bit. Until I can resolve this issue, I am unable to do repaints of PMDG aircraft for my VA. Any suggestions would be greatly appreciated.

    I had a similar issue but i solved it following the instructions explained here https://wiki.archlinux.org/index.php/Bu … l.2FNVIDIA.
    I also reccomend you to install the bbswitch package which disables NVIDIA discrete graphics card when isn't used.

  • Upgrade of our 10.4.11 laptop to 10.5 is accomplished and we now need to upgrade Quicktime and iTunes; however, the user name and password is now not working after the upgrade to 10.5.

    Object is to sync address and calendar between laptop with Max OS 10.4.11 and iPhone. Upgrade of our 10.4.11 laptop to 10.5 is accomplished and we now need to upgrade Quicktime and iTunes; however, the user name and password for the laptop is now not working after the upgrade to 10.5., though it was working prior to the upgrade, for file sharing.

    @ BDAqua > I tried your suggestion but no luck. holding opt+command just gave me a blue screen and it rebotted, pushing the disk out of the drive. Yes, the macbook has 1 gb of ram. I realize that the min req. call for 2 gb of ram so i've got an order in for another dimm to put into the machine. Thanks for your suggestions.
    @ a_brody > Yes. The machine was plugged into a power source. The disk promts you to do that and i recall aspect this form other installs. Thanks for the reminder tho! ( btw your second post is like greek to me man!) 
    @ Kuncklesmac > You're right about Snow Leopard being an upgrade from Leopard. I'm aware of this. And yes previously i've been told by Apple that I needed the Box Set (not the family pack.  i am using the family pack for OS Snow Leopard) to upgrade my 10.4.11 mac - they never mentioned adding ram but i figured that out on my own and an apple specialist recommended it when i purchased Snow Leopard and confirmed that I coul duse the Snow Leopard to upgarde from Tiger (10.4.11). I've also read extensively (as i said above) that it isn't necessary (always) to buy the box set. Several 10.4.11 users report having upgraded using the Snow Leopard upgrade disk only (not the Box Set) without trouble on intel macs (also see the apple link i posted). So i'm just ondering how they did it and i cannot. 
    Thanks fo rall yor help!

  • HT201272 Can't download any apps.  I have 2 itunes accounts, and happened to switch between them, now neither works.

    I can't download apps from appstore.  I have 2 itunes accounts and happened to have switched between them last night, now neither works.  Someone broke into my original account and racked up charges, Apple closed it for me and suggested I open a new one,which I did, then they reinstated the original account.  Some apps need to go to the second account to update since I had to resort to the new account while Apple took several months to figure out what happened, so I am stuck switching on occassion to update apps.  When I went back to the primary account, I cannot download anything.  I tried quitting both accounts, but nothing works.  Help please!

    Hello there, Gwald.
    The following Knowledge Base article offers some great recommendations for troubleshooting your issue:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Specific to iPad are the following:
    Troubleshoot issues on an iPhone, iPad, or iPod touch
    If you haven't been able to connect to the iTunes Store:
    Make sure your date, time, and time zone are correct in Settings > General > Date & Time.
    Note: Time Zone may list another city in your time zone.
    Make sure that your iOS software is up to date by tapping Settings > General > Software Update (iOS 5 or later) or connecting your iOS device to iTunes and clicking Check for Update on your device's Summary page.
    Check and verify that you're in range of a Wi-Fi router or base station. If you're on a device with cellular service, make sure that cellular data is turned on from Settings > General > Cellular.
    Note: If connected to cellular data, larger items may not download. You may need to connect to Wi-Fi to download apps, videos, and podcasts.
    Make sure that you have an active Internet connection. You can check the user guide for your device for help with connecting to the Internet.
    Make sure that other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    Try resetting (turning off and then on again) your Wi-Fi router.
    If the issue persists, try troubleshooting your Wi-Fi networks and connections.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • My Time Capsule expired and no longer works. My printer (a HP) will now not work as it still wishes to connect through the Time Capsule. It will not allow itself be recognised through a USB connection to my Mac. Anyone got any ideas?

    My Time Capsule expired and no longer works. My printer (a HP) will now not work as it still wishes to connect through the Time Capsule. It will not allow itself be recognised through a USB connection to my Mac. Anyone got any ideas?

    You will need to install the printer on your Mac
    Open System Preferences (gear icon) on the dock
    Open Print & Fax
    Click the + (plus) button at the bottom of the printer list
    Wait for your printer to appear in the next box, then click it to highlight it
    Click Add at the lower right
    Be sure to select the correct printer when you try to print as you will see your printer listed twice. Good idea to make the printer now installed on your Mac the default printer so you do not have to choose which printer to use each time you want to print.
    You can also go into Print & Fax, select the printer associated with the Time Capsule and click the - (minus) button if you want to delete that location.

  • I've had to reset my ipad to factory settings and restore from backup (have also got new softwear) my passcode is now not working - any ideas on the default?

    i've had to reset my ipad to factory settings and restore from backup (have also got new softwear) my passcode is now not working - any ideas on the default?

    Typos mad = and
    Receive = retrieve

  • Okay so i had an iphone 5.  I backed it up on icloud. Then i got the new iphone 5s i restored ot from icloud from my previous iphone 5.  Now everything works find execept now the games are slowy and drops the frame rate and look choppy. Please help.

    Okay so i had an iphone 5.  I backed it up on icloud. Then i got the new iphone 5s i restored ot from icloud from my previous iphone 5.  Now everything works find execept now the games are slowy and drops the frame rate and look choppy. Then i restarted my iphone 5s as a new device downloaded the same apps even the ones optimized for ios 7 and the games still lag. And i just got my iphone 5s replace.  The funny thing is.  While im playing games and their running choppy and slow and if i take a snap shot inside the phone. They run smooth and HD but just for a few seconds and boom they go back to slow and choppy.  Is it the ios 7 or the iphone 5s it self? Like i said this is my replacement iphone 5s because the other 5s did the same thing. And it was running slowly.

    As far as I know you can't delete the primary email address for an iCloud account.  It's assigned when the account is created.  But your neighbor wouldn't have been able to get into your iCloud account without your Apple ID and password.  Are you sure the account wasn't still on your phone when you gave it to him?
    You could migrate a copy of your data to a new iCloud account but I would still be concerned that someone else was using my old account, which presumably still has your data in it.
    I'm fairly certain that you're going to have to have iCloud support help you sort this one out as they may have the ability to make changes to an existing account that users can't.  Make an appointment with the genius bar at a nearby Apple store and have them take a look at it.  If necessary, they should be able to contact iCloud support for you.

  • HT3258 My Parallels program is now not working since upgrading my MacBook Pro to OS X Mountain Lion.  I was wondering if there is a solution to getting this working again?

    My Parallels program is now not working since upgrading my MacBook Pro to OS X Mountain Lion.  I was wondering if there is a solution to getting this working again?

    You just need to update it to the latest version.  See:
    http://kb.parallels.com/114449

  • My macbook screen doesn't work so I have connected it to the TV and now nothing works, I can't see the dock or the finder bar, no folders on desktop either. I don't know what to do!

    My macbook screen doesn't work so I have connected it to the TV and now nothing works, I can't see the dock or the finder bar, no folders on desktop either. I don't know what to do!

    Do you see anything on the TV?
    If you just see your desktop, then your MacBook is defaulting to extended display mode. Try pressing the Command + F1 keys to see if you get the menu bar and other icons.
    ~Lyssa

  • I have updating my Apple TV and now not working

    HI I have updating my Apple TV but now not working.
    what can i do?

    I also had the same issue - Apple TV is pointing to connect to iTunes - when I did it iTunes did not recognize the AppleTv - not sure what is the trouble here.

  • HT1430 have downloaded OS6, iphone now not working. Won't activate and iTunes is saying no sim card. what do i do next?

    have downloaded OS6, iphone now not working. Won't activate and iTunes is saying no sim card. what do i do next?

    sounds like your phone was hacked to work with your carrier.  Now it is relocked to the rightful carrier.  It cannot be reactivated without a SIM from that carrier.

  • HT1766 hi, i just tried backing up my iphone on icloud but th option to 'Back Up Now" doesnt work. when i tap on it, nothing happens. Im worried because my iPhone has never been backed up before

    hi, i just tried backing up my iphone on icloud but th option to 'Back Up Now" doesnt work. when i tap on it, nothing happens. Im worried because my iPhone has never been backed up before. Please help

    Reset the phone then try it again: hold down the home button along with the sleep/wake button until you see the apple, then let go.

  • I bought an iphone4s before my carrier put my sim in it i updated itunes now wont work with my sim

    I bought an iphone4s before my carrier put my sim in it i updated itunes now wont work with my sim

    Hello Aaron1658,
    It sounds like you are unable to activate your phone with the SIM provided to you by your carrier. Try these steps in the following article to help you troubleshoot what it happening, named:
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/ts3424
    Symptoms
    Your iPhone may display one of the following messages when you attempt to activate it:
    "Your iPhone could not be activated because the activation server is temporarily unavailable."
    "The SIM card inserted in this iPhone does not appear to be supported"
    "The iPhone is not recognized and cannot be activated for service."
    "iTunes was unable to verify your device."
    Restart the iPhone.
    Try another means of reaching the activation server and attempt to activate.
    Try connecting to a known-good Wi-Fi network if you're unable to activate using a cellular data connection.
    Try connecting to iTunes if you're unable to activate using Wi-Fi.
    Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore. If you're still unable to complete the setup assistant due to an activation error, contact Apple for assistance.
    If this is not what you are referring to, would you provide some more information about what is happening? Any error messages, prompts, etc.?
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • HT1349 The nice man Joseph Shen helped me with my google problem on my iPhone and worked for 2 days and now not working again please help me solve this problem were I can retrieve my messages on the I phone when I am not at home  on my wi Fi is the only t

    The nice man Joseph Shen helped me with my google problem on my iPhone and worked for 2 days and now not working again please help me solve this problem were I can retrieve my messages on the I phone when I am not at home  on my wi Fi is the only time it works correct. Bill. [email protected]  708 752  3667 

    http://lifehacker.com/5852948/what-to-do-if-youve-forgotten-your-iphones-passcod e

  • I had downloaded Mountain OX and installed it on my macbook air.  The notes app is now not working.  I get the following message erminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object' abort() called termin

    i had downloaded Mountain OX and installed it on my macbook air.  The notes app is now not working.  I get the following message
    "Terminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object'
    abort() called
    terminate called throwing an exception"
    Can someone help me with solving the problem.

    i had downloaded Mountain OX and installed it on my macbook air.  The notes app is now not working.  I get the following message
    "Terminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object'
    abort() called
    terminate called throwing an exception"
    Can someone help me with solving the problem.

Maybe you are looking for

  • Apple's Weather App

    So, why when I enter in "Adelaide, South Australia" and chose it in the weather app, it gives me the weather and time (day/night) for someplace other than Adelaide South Australia? Example -- the temp. today in Adelaide SA is around 24C and sunny , m

  • Action upgrade from CS2?

    Hello, I recently upgraded from Photoshop CS2 on Windows to CS4 on Mac. I had a bunch of actions defined in CS2 which I'd like to use on CS4, is there any way to transfer or import these? I have a backup of the "Adobe Photoshop CS2 Settings" director

  • How to remove a bug/virus that was embedded in a Mozillas update?

    After an update from Mozilla, I caught a bug that made certain pages unable to be viewed, and made the touch pad/mouse flip settings left/right side. I have ran Norton on this laptop since I bought it, and it find nothing. Malware finds nothing. I've

  • Print Server & VPN Problem

    I have just installed the new router and have 4 computers working off of it, 2 direct connected and 2 wireless.  I also have installed a print server to allow for printing within the network.  Everything is working fine at this point.  I have to conn

  • Getting error after trying to download digital copy of a movie

    I tried several times trying to download a digital copy of percy jackson & the olympians and it give error -5000 and says I don't have enough access privileges to do this.