How to fix error with xml2-config not found when installing PHP from sources??

When I try to install php 5.3 stable from source on Ubuntu (downloading compressed installation file from http://www...

How does gcc's -pg flag work??

I'm trying to understand how the -pg (or -p) flag works when compiling C code with gcc. The official gcc documentat...

Building vs. Compiling (Java)?

Thinking that the answer to this is pretty obvious but here it goes: When I am working on a small project for schoo...

How do you assemble, link and run a .s file in linux??

I'm getting a weird error message when trying to assemble and run a .s file using AT&T Intel Syntax. Not sure if...

Displaying the build date?

I currently have an app displaying the build number in its title window. That's well and good except it means nothi...

How to check if a Perl script doesn't have any compilation errors??

I am calling many Perl scripts in my Bash script (sometimes from csh also). At the start of the Bash script I want ...

How to fix error with xml2-config not found when installing PHP from sources??

When I try to install php 5.3 stable from source on Ubuntu (downloading compressed installation file from http://www...

How do I run Java .class files??

I've compiled a HelloWorld program, and I'm using the command prompt to run it. The .class file is named HelloWorld...

Using G++ to compile multiple .cpp and .h files?

I've just inherited some C++ code that was written poorly with one cpp file which contained the main and a bunch of ...

Compiling/Executing a C# Source File in Command Prompt?

How do you compile and execute a .cs file from a command-prompt window? ...

gcc -mpreferred-stack-boundary option?

I want to know what's the use of -mpreferred-stack-boundary option during compilation in GNU compiler. I've checked ...

Javac “cannot find symbol”?

I've the root directory like this : ├── classes └── src └── vehicles ├── Bicycl...

How to compile a C++ program as 64-bit on 64-bit machine??

Perhaps a very trivial question: I need to compile a program as 64-bit (earlier makefile written to compile it as 3...