You are not logged in.
Pages: 1
ok I am trying to compile a package from source of Mac-on-linux and test out this program for myself.
I am a noob and am not sure what I am doing wrong
[otacon@remcycle mol-0.9.72.1]$ sudo pacman -Sy abs
:: Synchronizing package databases...
core is up to date
^[[A^[[A^[[A^[[A extra is up to date
^[[A community is up to date
warning: abs-2.3-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): abs-2.3-1
Total Download Size: 0.00 MB
Total Installed Size: 0.12 MB
Proceed with installation? [Y/n] y
[otacon@remcycle mol-0.9.72.1]$ ./configure
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking obstack.h usability... yes
checking obstack.h presence... yes
checking for obstack.h... yes
checking dependency style... new
checking for clearenv()... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for snd_pcm_open in -lasound... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for working XDGA headers... yes
checking for m4... m4
checking for as... as
checking for strip... strip
checking for ld... ld
checking for nm... nm
checking for objdump... objdump
checking for install... install
checking whether off_t is 64 bit... yes
checking for broken syscall macro... yes
checking for uc_context.gregs... yes
checking for png_read_png in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for -fno-stack-protector support... yes
checking for inflate in -lz... yes
configure: creating ./config.status
config.status: creating unconfig
config.status: creating Makefile.defs
config.status: creating config.h
config.status: config.h is unchanged
[otacon@remcycle mol-0.9.72.1]$ make
+ Entering lxdialog
+ Entering kconfig
can't find file config/Kconfig-amd64
make[2]: *** [menuconfig] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [do-bootstrap] Error 2
[otacon@remcycle mol-0.9.72.1]$ ./configure --prefix=/usr/local
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking obstack.h usability... yes
checking obstack.h presence... yes
checking for obstack.h... yes
checking dependency style... new
checking for clearenv()... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for snd_pcm_open in -lasound... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for working XDGA headers... yes
checking for m4... m4
checking for as... as
checking for strip... strip
checking for ld... ld
checking for nm... nm
checking for objdump... objdump
checking for install... install
checking whether off_t is 64 bit... yes
checking for broken syscall macro... yes
checking for uc_context.gregs... yes
checking for png_read_png in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for -fno-stack-protector support... yes
checking for inflate in -lz... yes
configure: creating ./config.status
config.status: creating unconfig
config.status: creating Makefile.defs
config.status: creating config.h
config.status: config.h is unchanged
[otacon@remcycle mol-0.9.72.1]$ make
+ Entering lxdialog
+ Entering kconfig
can't find file config/Kconfig-amd64
make[2]: *** [menuconfig] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [do-bootstrap] Error 2
see when I try to make I get these errors
I am on Arch64 with an amazing hightech machine
I have never installed something from source and need a little guide tohelp me
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
I am not sure if u just want to compile the program or you want to compile it with abs.
If its just compiling, then read the BUILDING file in the source. It has the instructions.
Building MOL from the source tarball:
======================================This is very simple just do
bash$ ./autogen.sh
bash$ make
bash$ make install (as root)During the compilation, a configuration menu will appear allowing various
optional features to be turned on or off. It is possible to revisit this
menu later by issuing 'make menuconfig'. The 'make defconfig' command
sets the default configuration.
If you want to compile with abs, then you have to get the PKGBUILD and then makepkg
Hope this helps.
Offline
ok this is what I get
[otacon@remcycle mol-0.9.72.1]$ ./autogen.sh
==================================================
Invoking autoheader and autoconf.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
The next step is 'make'
==================================================
[otacon@remcycle mol-0.9.72.1]$ make
config.status: creating unconfig
config.status: creating Makefile.defs
config.status: creating config.h
config.status: config.h is unchanged
+ Entering lxdialog
+ Entering kconfig
can't find file config/Kconfig-amd64
make[2]: *** [menuconfig] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [do-bootstrap] Error 2
[otacon@remcycle mol-0.9.72.1]$ make install
install: cannot stat `startmol': No such file or directory
make: *** [install] Error 1
[otacon@remcycle mol-0.9.72.1]$ ./autogen.sh
==================================================
Invoking autoheader and autoconf.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
The next step is 'make'
==================================================
[otacon@remcycle mol-0.9.72.1]$ make
config.status: creating unconfig
config.status: creating Makefile.defs
config.status: creating config.h
config.status: config.h is unchanged
+ Entering lxdialog
+ Entering kconfig
can't find file config/Kconfig-amd64
make[2]: *** [menuconfig] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [do-bootstrap] Error 2
[otacon@remcycle mol-0.9.72.1]$ make install
install: cannot stat `startmol': No such file or directory
make: *** [install] Error 1
the first error I get is
can't find file config/Kconfig-amd64
make[2]: *** [menuconfig] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [do-bootstrap] Error 2
I don't have amd64 processor is that is what it wants.
Just a quick question:
This is how you install the program right?
you compile then install?
Is there any other way to install this or should I just try to trouble shoot the best I can?
I could try ABS, but I am really new to the building from source thing.
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
I would feel alot better if I heard of someone who has gotten this to work for them.
If you are out there please make me feel better and say you have it working.
also I would like to thank you for responding so quickly and thank the future responders for trying to help me
Last edited by otacon (2008-12-04 17:55:19)
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
mol is not in any of the repos. Where did you get it from?
Abs is of no use here.
Offline
I looked it up on google as Mac-on-Linux and got and got it here
http://sourceforge.net/projects/mac-on-linux/
it has been put at a stand still for the past year or so with almost no updates except there seems to be one guy maintaining it.
I was hoping to install it and get into updating it once I learn more from my Computer Science classes.
I am very new and was hoping to learn about the program itself by trial and error
but in order to do that I need to atleast have the original working model
Last edited by otacon (2008-12-04 21:43:36)
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
Sorry that I am in the wrong section. I didn't realize there was a difference between compiling from source and pkgbuilds
I thought you compiled the source into a pkgbuild then installed it with ABS onto Arch.
For now Since building from source didn't work as it should have. I would like to learn how to trouble shoot source build problems and fix it inorder to get it working. Well if that is possible.
If the build doesn't work how it says it should is it fixable or should I just give up?
--------------------------------------------------------------------------------------------------------------------------------------------------------
I am sorry I am editing these posts so much but I am just so excited about Arch linux. I just want to know everything, but the wikis seem choppy and confusing. After I get this working I really with to make a package out of it to put in a repos for everyone to enjoy. I believe that this project would benefit the mac-linux users like me alot. there are alot of good programs we give up when, like me, we give up our entire hard disk to Arch.
I love Arch.
I love you guys
I want to learn, and make this os as good as I, a plain old noob user, can help make it.
Last edited by otacon (2008-12-04 21:57:20)
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
Are you running 64-bit arch? The part thats failing is where it is trying to build a kernel module and it seems to have detected that you are running a 64bit system however the source only has spec files for ppc, osx and x86.
It would build for me in a 32-bit chroot but the 'make install' step failed since it tries to create a directory `./obj-x86/lib/modules' that it can't, its probably fixable though if you were to dig through the Makefiles.
Offline
thank you I did come to this conclusion when revisiting the MOL sight.
I will come back to this once I gain more knowledge about the linux system and how to trouble shoot
ty
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
Pages: 1