• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Help with make error/compiling from source

unibrow1990

New Member
Joined
Mar 19, 2009
Messages
194 (0.04/day)
Location
Detroit, Michigan
System Name FUBAR
Processor AMD Phenom II 720BE @ 3.6Ghz
Motherboard Jetway HA06, 780g sb700
Cooling Sunbeamtech Core Contact Freezer, 2x 40mm fan 1x 70mm hdd fan, 2x 80mm case fans, 4x 120mm case fans
Memory 4gb OCZ Reaper ddr2 800@ 4-4-4-12-1t 2.2v
Video Card(s) HIS 4850 ICEQ4 512mb crossfired with XFX 4850 512mb
Storage WDC Black 640gb SATA, 250gb Hitachi Deskstar SATA
Display(s) Acer X193W+ 19" 5ms 1680x1050
Case Modded Raidmax Smilodon Extreme Black
Audio Device(s) Integrated W/ Altec Lansing 2.1 speakers
Power Supply Rosewill RP550V2-D-SL 550W with FSP Booster X3
Software Win 7 Home Premium 64-bit
I have been pulling my hair out all night over this.

So i need to install a package called SWIG on my fedora 12 box. Unfortunatly for me I need a specific version of that package: 1.3.38 or lower and the only version availible in the fedora repositories is 1.3.40 meaning I have to compile the older version from source.

So I download the source tarball for 1.3.38 and unpack it. Then, as I know next to nothing about compiling from source I open the INSTALL file and follow the step by step instructions, namely:
Step 1: cd to the directory of the unpacked tarball -- DONE
Step 2: run "./configure" -- DONE
Step 3: run "make" -- FAIL :nutkick::confused:

When I run the make command I get the following output:

Code:
[al@SNAFU-AJS swig-1.3.38]$ make
make[1]: Entering directory `/home/al/Downloads/swig-1.3.38/Source'
Makefile:191: *** missing separator.  Stop.
make[1]: Leaving directory `/home/al/Downloads/swig-1.3.38/Source'
make: *** [source] Error 2

Here is the area around the offending line in the makefile, I see nothing that looks untoward but then again I know precisely jack about makefiles:

Code:
186:    gifplot-library:
187:    	@echo $(ACTION)ing Examples/GIFPlot/Lib
188:   	@cd Examples/GIFPlot/Lib && $(MAKE) -k -s $(ACTION)
189:
190:    check-gifplot:				\
[B]191:[/B]	    check-tcl-gifplot			\
192:  	    check-perl5-gifplot			\
193:  	    check-python-gifplot			\
194:  	    check-java-gifplot			\
195:  	    check-guile-gifplot			\
196:  	    check-mzscheme-gifplot			\
197:  	    check-ruby-gifplot			\
198:  	    check-ocaml-gifplot			\
199:  	    check-octave-gifplot			\
200:  	    check-php-gifplot			\
201:  	    check-pike-gifplot			\
202:  	    check-chicken-gifplot                   \
203:  #	    check-lua-gifplot                  	\
204:  #	    check-csharp-gifplot                    \
205:  #	    check-modula3-gifplot


Is there something obviously wrong with the above makefile?
Is there something deeper wrong with how my system is set up?
Am I just a moron who missed something really obvious?

Please enlighten me if you are able, also let me know if you need any more information to help you solve the problem, I will gladly provide it.
 
Last edited:

933k

New Member
Joined
Mar 21, 2010
Messages
20 (0.00/day)
Location
New Zealand
System Name V!RU5
Processor E8400 / Q6600 (still deciding which one to keep)
Motherboard GA-P35-D3SR
Cooling Thermalright Ultra-90
Memory 4GB Corsair
Video Card(s) Evga 8800GT
Storage Seagate 500GB
Display(s) Viewsonic VA2226w
Case RaidMax Ninja
Audio Device(s) Onboard
Power Supply RaidMax 520
Software Windows 7 Ultimate x64 / Sabayon Linux 5.0 KDE 4.4.1 / OSX Leopard 10.5.8 IDeneb

unibrow1990

New Member
Joined
Mar 19, 2009
Messages
194 (0.04/day)
Location
Detroit, Michigan
System Name FUBAR
Processor AMD Phenom II 720BE @ 3.6Ghz
Motherboard Jetway HA06, 780g sb700
Cooling Sunbeamtech Core Contact Freezer, 2x 40mm fan 1x 70mm hdd fan, 2x 80mm case fans, 4x 120mm case fans
Memory 4gb OCZ Reaper ddr2 800@ 4-4-4-12-1t 2.2v
Video Card(s) HIS 4850 ICEQ4 512mb crossfired with XFX 4850 512mb
Storage WDC Black 640gb SATA, 250gb Hitachi Deskstar SATA
Display(s) Acer X193W+ 19" 5ms 1680x1050
Case Modded Raidmax Smilodon Extreme Black
Audio Device(s) Integrated W/ Altec Lansing 2.1 speakers
Power Supply Rosewill RP550V2-D-SL 550W with FSP Booster X3
Software Win 7 Home Premium 64-bit
Thank you 933k, that solution worked perfectly. :toast:
 

933k

New Member
Joined
Mar 21, 2010
Messages
20 (0.00/day)
Location
New Zealand
System Name V!RU5
Processor E8400 / Q6600 (still deciding which one to keep)
Motherboard GA-P35-D3SR
Cooling Thermalright Ultra-90
Memory 4GB Corsair
Video Card(s) Evga 8800GT
Storage Seagate 500GB
Display(s) Viewsonic VA2226w
Case RaidMax Ninja
Audio Device(s) Onboard
Power Supply RaidMax 520
Software Windows 7 Ultimate x64 / Sabayon Linux 5.0 KDE 4.4.1 / OSX Leopard 10.5.8 IDeneb
Joined
Oct 20, 2009
Messages
2,873 (0.54/day)
Location
Corpus Christi, Texas
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
I have been pulling my hair out all night over this.

So i need to install a package called SWIG on my fedora 12 box. Unfortunatly for me I need a specific version of that package: 1.3.38 or lower and the only version availible in the fedora repositories is 1.3.40 meaning I have to compile the older version from source.

So I download the source tarball for 1.3.38 and unpack it. Then, as I know next to nothing about compiling from source I open the INSTALL file and follow the step by step instructions, namely:
Step 1: cd to the directory of the unpacked tarball -- DONE
Step 2: run "./configure" -- DONE
Step 3: run "make" -- FAIL :nutkick::confused:

When I run the make command I get the following output:

Code:
[al@SNAFU-AJS swig-1.3.38]$ make
make[1]: Entering directory `/home/al/Downloads/swig-1.3.38/Source'
Makefile:191: *** missing separator.  Stop.
make[1]: Leaving directory `/home/al/Downloads/swig-1.3.38/Source'
make: *** [source] Error 2

Here is the area around the offending line in the makefile, I see nothing that looks untoward but then again I know precisely jack about makefiles:

Code:
186:    gifplot-library:
187:    	@echo $(ACTION)ing Examples/GIFPlot/Lib
188:   	@cd Examples/GIFPlot/Lib && $(MAKE) -k -s $(ACTION)
189:
190:    check-gifplot:				\
[B]191:[/B]	    check-tcl-gifplot			\
192:  	    check-perl5-gifplot			\
193:  	    check-python-gifplot			\
194:  	    check-java-gifplot			\
195:  	    check-guile-gifplot			\
196:  	    check-mzscheme-gifplot			\
197:  	    check-ruby-gifplot			\
198:  	    check-ocaml-gifplot			\
199:  	    check-octave-gifplot			\
200:  	    check-php-gifplot			\
201:  	    check-pike-gifplot			\
202:  	    check-chicken-gifplot                   \
203:  #	    check-lua-gifplot                  	\
204:  #	    check-csharp-gifplot                    \
205:  #	    check-modula3-gifplot


Is there something obviously wrong with the above makefile?
Is there something deeper wrong with how my system is set up?
Am I just a moron who missed something really obvious?

Please enlighten me if you are able, also let me know if you need any more information to help you solve the problem, I will gladly provide it.

When you run ./configure, you should keep an eye out for libraries that FAIL. Then install those libraries and run ./configure again to see if they PASS.
When they all pass, run Make and Make Install. Don't forget Sudo if in user mode.
 
Top