Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (15) </ ... 8 9 10 11 12 [13] 14 15 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: easier way to compile stuff for DSL, chroot + debootstrap< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 26 2007,13:14 QUOTE

Thanks for that, unfotunately it gets me to the same point as the hosts.def I was trying to make. If I do:
Code Sample
$ make World >& world.log

Then the last few lines of world.log look like:
Quote
make[2]: Leaving directory `/KNOPPIX/usr/src/xc/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
./config/imake/imake: No such file or directory
./config/imake/imake: Cannot exec /lib/cpp.
 Stop.
./config/imake/imake: Exit code 1.
 Stop.
make[1]: *** [config/makedepend/Makefile.proto] Error 1
make[1]: Leaving directory  
make: *** [World] Error 2

The file /usr/src/xc/config/imake/imake exists and /lib/cpp -> /opt/compile/lib/cpp -> /opt/compile/bin/cpp so I'm not sure which file cannot be found...

Edit: It was a typo in the cpp symlink - now it halts complaining there's no fonts, even though I set "#define BuildFonts NO"...
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 26 2007,17:23 QUOTE

@curaga

I guess site.def must have been modified to suit the way your host.def is set up - is it possible to paste the site.def you used? I appear to have some duplication/mismatch between the two that prevents the make completing sucessfully.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 27 2007,06:29 QUOTE

Sorry - I don't have that anymore..

I don't think I touched any other config file than host.def though..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 27 2007,06:58 QUOTE

I tried editing site.def so all it contained was:
Quote
/* if you want host-specific customization, this is one way to do it */
/*
#ifndef SiteIConfigFiles
#define SiteIConfigFiles $(IRULESRC)/host.def
#define LocalConfigFiles host.def
#endif
*/

- and modified curaga's host.def so part of it looked like:
Quote
//* GENERAL SETTINGS */

#define SystemManDirectory        /opt/compile-3.3.5/man
#define DocDir                    /opt/compile-3.3.5/share/doc
#define BuildFonts                NO

/* Installation prefix. The default is to install into /usr/X11R6. If you
* would like to install into /usr, uncomment these options. */

#define ProjectRoot            /opt/compile-3.3.5
/* #define LinkGLToUsrLib         NO   */
/* #define LinkGLToUsrInclude     NO   */

- in this context, I believe the "#" have to be left in, but maybe I'm wrong? In any case, "make" ignored the BuildFonts=NO and dirs=/opt/compile-3.3.5/...

Somwhere along the way, I found xfree would not compile fully without changing bison-1.875 to bison-1.875a (I found bison-1.875d, it worked) and flex-2.5.32 to flex-2.5.4 (I found flex-2.5.4a, it worked).

Once compiled, make install copied what looks like all of the headers & libs, but failed asking for /include/linux/autoconf.h - this was not made by the kernel headers commands curaga suggested a few posts back, is there a way to make it?

I copied autoconf.h from knoppix-3.4 and make install failed looking for ../lib/GL/dri/drm/xf86drm.o which I guess could be expected because I had not unpacked the full kernel sources.

I'll try moving the headers/libs from /usr/.. to /opt/compile/... and see if I can compile gtk-1.2
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 27 2007,07:19 QUOTE

Oops. it does come from the kernel.

It is created when you configure your kernel, and just creating an empty one should have sufficed..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
73 replies since June 18 2007,19:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (15) </ ... 8 9 10 11 12 [13] 14 15 >/
reply to topic new topic new poll
Quick Reply: easier way to compile stuff for DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code