Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2659 closed defect (fixed)

on linux, build from svn fails when can't find enet/enet.h

Reported by: Patrick Owned by:
Priority: Must Have Milestone: Alpha 17
Component: Build & Packages Keywords: build fail
Cc: Patch:

Description

Building on Fedora 20 linux after many successful builds, now it fails like this:

svn up Updating '.': At revision 15466. Then after cd build/workspaces ./clean-workspaces.sh ./update-workspaces.sh Succeeds without error cd gcc make clean make -j3 fails when it gets to:

Building lobby (release)

Creating obj/lobby_Release precompiled.h dictionary_manager.cpp fsm.cpp StanzaExtensions.cpp NetFileTransfer.cpp po_parser.cpp XmppClient.cpp NetServer.cpp In file included from ../../../source/network/NetServer.cpp:28:0: ../../../source/lib/external_libraries/enet.h:48:23: fatal error: enet/enet.h: No such file or directory

#include <enet/enet.h>

compilation terminated. make[1]: * [obj/network_Release/NetServer.o] Error 1 make: * [network] Error 2 make: * Waiting for unfinished jobs.... JSInterface_Lobby.cpp dictionary.cpp pkcs5_pbkdf2.cpp sha.cpp language.cpp precompiled.cpp Globals.cpp unix_file_system.cpp Linking lobby log.cpp plural_forms.cpp tinygettext.cpp precompiled.cpp iconv.cpp Linking tinygettext

Attachments (1)

logit (471.4 KB ) - added by Patrick 10 years ago.
Complete build trace

Download all attachments as: .zip

Change History (4)

by Patrick, 10 years ago

Attachment: logit added

Complete build trace

comment:1 by sanderd17, 10 years ago

When was your last successful build? Did you install the libenet dependency?

See BuildInstructions

comment:2 by leper, 10 years ago

Milestone: BacklogAlpha 17
Resolution: fixed
Status: newclosed

You need to install Enet from r15457 on.

comment:3 by Patrick, 10 years ago

Thank you:) I was jonesing to play 0ad! I build almost every day if svn up brings down anything, but it hasn't been working for several days. The build instructions re: enet on fedora are wrong, for whatever reason the package name is just enet-devel instead of the libenet-devel you have in the build instructions. Someone might want to fix that page of the website. Thank you again:)

Note: See TracTickets for help on using tickets.