WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to compile Xvesa from Xfree86  (Read 6517 times)

Offline topcat

  • Newbie
  • *
  • Posts: 4
how to compile Xvesa from Xfree86
« on: October 20, 2009, 02:22:17 AM »
I have built the source sometimes,but can‘t get the Xvesa binary file.

This tar.gz  is download from tinycore.com.

please help me.
3ks

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: how to compile Xvesa from Xfree86
« Reply #1 on: October 21, 2009, 01:04:02 AM »
For 4.8.0, see xvesa.tcbuild

Offline topcat

  • Newbie
  • *
  • Posts: 4
Re: how to compile Xvesa from Xfree86
« Reply #2 on: October 22, 2009, 10:44:21 PM »
#!/bin/bash
# Bash and standard build environment required. (gcc, binutils, make, etc, etc.)
#export CPPFLAGS="-I/usr/local/include/X11 -I/usr/include -I/usr/include/X11"
#tar xzvf XFree86-4.8.0-src-1.tgz
#tar xzvf XFree86-4.8.0-src-2.tgz
#tar xzvf XFree86-4.8.0-src-3.tgz

cd xc
patch -p0 < ../mouse.patch
cp ../host.def config/cf/ && echo "host.def successfully copied"
cp ../site.def config/cf/ && echo "site.def successfully copied"
sleep 4
make World -i CDEBUGFLAGS="-O2 -march=i486"

#Xvesa/Xfbdev are made now and inside the xc/programs/Xserver directory.


--------------------------------------------------------------------
No Xvesa counld be found in Xserver

Offline topcat

  • Newbie
  • *
  • Posts: 4
Re: how to compile Xvesa from Xfree86
« Reply #3 on: October 22, 2009, 10:47:37 PM »
#define BuildFonts YES
#define BuildServersOnly YES
#define KDriveXServer YES
#define TinyXServer YES
#define XvesaServer YES

---------------------------------------------
host.def


pls help me

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: how to compile Xvesa from Xfree86
« Reply #4 on: November 17, 2009, 06:49:56 PM »
Did you install the suggested tools?  Was there any error output?

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: how to compile Xvesa from Xfree86
« Reply #5 on: February 09, 2010, 09:50:19 PM »
Would it be possible to put the build files back onto ibiblio.org or publish them here as an attachment?

The files in question are:
    host.def
    mouse.patch
    site.def
    xvesa.tcbuild

The last one we've got (see reply #2). I believe all files were once kept in
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tce/src/XFree86-4.8.0/
but that directory is now "gone".

Or am I just "blind" and they can be found somewhere else?

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: how to compile Xvesa from Xfree86
« Reply #6 on: February 16, 2010, 08:08:38 PM »
Well, it looks like I can now answer my own question (in case that someone else is looking for those files). I believe the files in question are currently to be found in:
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/src/Xvesa/

As I could not manage to find those files via Google I wonder if it would be possible to keep somewhere track of source files (and build instructions). At least in some cases I don't think it is obvious where to look: there are several 'src' directories in ibiblio.org, the directory name might change over time (e.g. XFree86-4.8.0 vs. Xvesa), there might be left-overs from TC 1.x which could well be relevant for TC2.x.

I guess one way would be to include a link to a directory containing sources and build information in the .info files. Whilst this could work for extensions something else would be required for the core components.

So this might be worth considering for the future (e.g. TC 3.x) ...

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: how to compile Xvesa from Xfree86
« Reply #7 on: February 17, 2010, 07:51:15 PM »
I will try to make it clearer on which source is for the Xvesa in base versus the one for the Xvesa extension.  The Xfree-4.8.0 source is for the Xvesa in base, Xorg 7.1 was used for the extension.  There is no info file to indicate where the location of the source in base is, but I will perhaps rename it Xorg-base as to not be confused with the extension.