Quick Question on Installation

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
MikeEller
Earned a small fee
Earned a small fee
Posts: 10
Joined: Mon Feb 21, 2005 9:46 pm
Contact:

Quick Question on Installation

Post by MikeEller » Wed Aug 31, 2005 2:02 pm

Hello,

I am using SUSE 9.3.

I downloaded 2.6.1-GTK.

The install instructions say to create a subdirectory after unpacking, then cd into that directory and run configure, make, and make install. Then to go ahead and continue with make, make install......

I am not sure what it is telling me to do here. I did the first part and all installed with error. I then went back to the main directory where I assume I am to continue with make and make install (again)....however, there is no makefile there. Should I run configure (again) in the main directory and go through the process again in the main directory???

Thanks,
Mike

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Wed Aug 31, 2005 2:19 pm

Lets say you download wx to /home/me/wxGTKW-2.6.1.tar.gz

Change to me:

> cd

You can unpack it:

> tar zxvf wxGTK-2.6.1.tar.gz

This should create a folder something like:

/home/me/wxWidgets-2.6.1

Create a build folder in that same directory:

mkdir buildwx

You now have a source and build folder:

/home/me/wxWidgets-2.6.1 - source folder
/home/me/buildwx - build folder

Change to build folder:

> cd buildwx

Run configure:

> ../wxWidgets-2.6.1/configure <all your flags here>

You will now have all the makefiles generated to build wx, contribs, samples etc.

Build and install it:

> make; make install;

And if you want contrib libraries;

> cd contrib; make; make install


HTH

Chris


------------------------------------------------------------
Chinook Developer Studio
*Free multiplatform IDE for BSD.Linux.Solaris.Windows*
http://www.degarrah.com/chinookfree.php

Zephyr Automated Test Runner
*Cross platform automated functional and regression testing*
http://www.degarrah.com/zephyr.php
------------------------------------------------------------

MikeEller
Earned a small fee
Earned a small fee
Posts: 10
Joined: Mon Feb 21, 2005 9:46 pm
Contact:

Post by MikeEller » Wed Aug 31, 2005 2:41 pm

Chris,

That is exactly what I did...just the way you explained it. However, the install instructions (INSTALL.txt) Say to then continue with make and make install....like there is more to do.

If there is not, then I am good to go....right?

Thanks,
Mike

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Wed Aug 31, 2005 4:36 pm

Yup,

Once you run "make install" wx should be installed into your system. If you configured a dynamic build of wx (shared libraries) you will need to run ldconfig as root.

HTH

Chris

MikeEller
Earned a small fee
Earned a small fee
Posts: 10
Joined: Mon Feb 21, 2005 9:46 pm
Contact:

Post by MikeEller » Wed Aug 31, 2005 4:44 pm

Chris,

OK, Thanks....

I will hit tonight and see if everyting works.

I appreciate the help,

Mike

Post Reply