packages

How can I install Perl's DBI module on Ubuntu?

cant open perl script "Makefile.PL":No such file or directory. While installing perl-DBI im getting this error. kindly suggest some solution. ...

List all the modules that are part of a python package?

Is there a straightforward way to find all the modules that are part of a python package? I've found this old discussion, which is not really conclusive, but I'd love to have a definite answer before I roll out my own solution based on os.listdir(). ...

Is there a problem initializing a JAXBContext with a package in a library?

I'm trying to initialize a JAXBContext like so: JAXBContext jaxbContext = JAXBContext.newInstance("ebay.apis.eblbasecomponents"); When the code is run, however, I get the following run time error: Exception in thread "main" java.lang.NoClassDefFoundError: ebay/apis/eblbasecomponents/ObjectFactory Caused by: java.lang.ClassNotFoundExc...

Simple statistics - Java packages for calculating mean, standard deviation, etc...

Could you please suggest any simple Java statistics packages? I don't necessarily need any of the advanced stuff. I was quite surprised that there does not appear to be a function to calculate the Mean in the java.lang.Math package... What are you guys using for this? EDIT Regarding: How hard is it to write a simple class tha...

Conflicting Python Packages How can it be Resolved?

So we went to implement something today, and discovered that there already is several applications relying on the old implementation of our inhouse python library. Called cis_py. Now all applications for our implementation currently sit in a folder called, bin. This is where cis_py currently resides. Now we went to deploy one of our big...

What's the most straightforward way to typeset MLA-style college essays in LaTeX?

I've been using LaTeX for a little while now to typeset my algorithms homework, and I really like the quality of the output as well as the ease-of-use. I'd like to starting using LaTeX in other classes as well, but non–computer-science subjects have more stringent formatting requirements than I've come across in CS. Most classes that req...

Apparent Hierarchies of Packages

In this post http://java.sun.com/docs/books/tutorial/java/package/usepkgs.html into the paragraph "Apparent Hierarchies of Packages" is written: "" At first, packages appear to be hierarchical, but they are not. For example, the Java API includes a java.awt package, a java.awt.color package, a java.awt.font package, and many others tha...

Should I keep the package name when extending a class?

I plan to extend a JSF renderer. The package name is oracle.adfinternal.view.faces.renderkit.rich Should the extended class be in the same package structure: oracle.adfinternal.view.faces.renderkit.rich or even oracle.adfinternal.view.faces.renderkit.rich.[subpackage] or can/should I put it into my own package? com.company.renderkits. ...

Displaying instructions to user after .deb installer completes

Is there a commonly used approach for displaying 'how to get started' instructions to a user after a .deb installer has finished installing a package? I need an approach that works for users working via a terminal as well as from a desktop environment. Server admins will probably know to check for a README file but many others won't....

Most useful ActionScript packages / libraries

What are some useful plug-ins, packages or source-code for ActionScript? Please include ActionScript version, name, link and description. ...

How should I organize the code for my software package?

I want to reorganize my C++ code project, which contains of hundreds of source files. I want to split everything into 4 libraries, taking care to avoid cyclic dependencies: (a) src/core (b) src/util (c) src/create (d) src/process Basically, core implements the basic data structures and util implements some basic utility functions to ...

Self import of subpackages or not ?

Suppose you have the following b b/__init__.py b/c b/c/__init__.py b/c/d b/c/d/__init__.py In some python packages, if you import b, you only get the symbols defined in b. To access b.c, you have to explicitly import b.c or from b import c. In other words, you have to import b import b.c import b.c.d print b.c.d In other cases I s...

FastMM, stack trace memory for leaks in dynamicly loaded DLL, compiled with runtime packages.

Hi, I'm using FastMM together with JCL Debug info to trace memory leaks in my application. However I have plugins which are dlls compiled in Delphi, both dlls and main application use common runtime packages. Now, when I'm shutting down the application, it generates memory leaks report in text file which is fine, but it contains stack tr...

How to refer to the local module in Python?

Let's say we have a module m: var = None def get_var(): return var def set_var(v): var = v This will not work as expected, because set_var() will not store v in the module-wide var. It will create a local variable var instead. So I need a way of referring the module m from within set_var(), which itself is a member of modul...

Drupal: Which MySQL do I need?

Hi guys, this might sounds silly but I am super confused. I want to install drupal on localhost but I need to install a SQL database for it too. Which database package do I get (for free) ? I went to MySQL website but I do not understand which one I need to download, or if mysql at all.. ? I have win 7 32 bit and I only care that dru...

Why does building with runtime packages make the EXE file smaller?

I have a query about the option in Delphi to build with or without runtime packages (Project->Option->Packages). The executable file size seem to be smaller (389KB) when I checked the box "Build with runtime packages" compared to when I uncheck the box (3,521KB). Why is that the case? I am having so much trouble building an installation...

create a wizard installation package

Hi, i have the following problem: 1- I have a set of executables that must be installed sequentially 2- I have a vbs that add keys in particular path of registry of windows 3- The vbs must be dynamic and configurable I need to create one only packet that installs the set of executables and run the vbs. Furthermore tha packet must be d...

How to use different packages in the same project for different versions of Delphi

We're slowly converting a big and complicated collection of Delphi 6 projects to Delphi 2007. In Delphi I can use compiler directives in dpr, dpk and pas files to make different code visible to different versions. For example: requires rtl, vcl, vclx, {$IFDEF VER180} //Delphi 2007 and later IndyCore, IndySystem, IndyProto...

Packages and MXML components

How do I say an MXML component is inside some package? Well, it's in a different folder... I know how to do it ActionScript... But when I do in MXML I don't declare the package explicitly because I don't know how, and when I call it to my application, it states that The prefix "package" for element "package:Component" is not bound...

what is equivalent to Java packages in iPhone OS?

hello, I want to know which is the equivalent concept of Java packages in iPhone. Is it bundling or Static library? ...